Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
Back in 2008, I wrote a piece called PowerShell Tips and Tricks, which covered the then-relatively new Windows scripting language and some cool things you could do with it. Although PowerShell has ...