Don’t copy and paste the same code over and over again. Instead, create a PowerShell function and save yourself time.
If you've been using PowerShell, then you know that one of the great things about it is the ability to take objects outputted from one cmdlet, easily send it to another cmdlet and have it know how to ...