asked on
Add-PSSnapin “Microsoft.EnterpriseManagement.OperationsManager.Client” -ErrorVariable errSnapin;
Select allOpen in new window
ASKER
Add the following line at the top of your script.
Open in new window