SCOM 2012 – restart all SCOM agents in management group
By request, hereby a script which restarts all SCOM 2012 agents in the management group. This is run from for instance a management server. It picks up the names of all agents (not the management servers!) and gets the HealthService of those machines an…