Friday, June 12, 2015

SCOM - PowerShell Script to Enumerate Management Servers, Gateway Servers and Agents

When it comes to authoring PowerShell scripts from scratch, I wouldn't be the most prolific or creative but I am an obsessive hoarder of them. Like learning any new language, the more examples of that language you have to reference, the easier you will find it is to speak it yourself.

With that in mind, this week, my buddy Marnix Wolf has written a new PowerShell script to give you a quick overview of all your SCOM Management Servers, Gateway Servers and the agents reporting to them.

You could run a report to get this information or just check it out in the console but as Marnix says, PowerShell is always going to be quicker once you have a script like this at your disposal.

Check out his post at this link:

http://thoughtsonopsmgr.blogspot.ie/2015/06/scom-2012-r2-powershell-enumerate-all.html

You can download the script from here.

Thanks Marnix - that's another script to add to my ever-growing collection :)

No comments:

Post a Comment