Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
Mitch Tulloch is a Microsoft Most Valuable Professional and lead author of the Windows 7 Resource Kit from Microsoft Press. You can follow him on Twitter at ...