One of our favorite nuances of the C programming language (and its descendants) is the static keyword. It’s a little bit tricky to get your head around at first, because it can have two (or three) ...
Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.