Adding SCOM Management Groups to Agents Using Powershell

I’ve been buried in automation recently, which has thrown up more than the odd technical challenge along the way. One which I found surprising was the lack of a PowerShell script for adding management groups to SCOM agents… There was a VB Script available but I decided it was time to get with the program, the script I wrote can be found here:

The manual process for adding management groups to SCOM agents can be found on TechNet here:

Leave a Reply

Your email address will not be published. Required fields are marked *