Powershell Tip: Retrieving an inventory of object classes and descriptions from OpsMgr 2007
Have you ever wondered what the object classes represent when you’re trying to scope your console view or target a rule or monitor? It can sometimes be confusing because the description is not included in all areas of the Operations Console.
Here’s a short one-liner to retrieve a list of all object classes present in your Operations Manager 2007 management group, including a description of the class:
Get-MonitoringClass | ft DisplayName, Description
Remember, you can send this to a csv file for easy reading in Excel as well.
Get-MonitoringClass | ft DisplayName, Description | export-csv -path c:\classes.csv
You can retrieve a list of all cmdlets available in the Command Shell by entering get-operationsmanagercommand.
Update your MOM skills to Operations Manager 2007 at the Operations Manager 2007 Bootcamp! Check the 2008 Bootcamp Schedule and request pricing and availability HERE.

July 10th, 2008 at 11:06 pm
[…] the previous Powershell Tip, you can see that it’s quite easy to enumerate the object classes present in your Operations […]
July 12th, 2008 at 12:39 am
[…] Powershell Tip: Retrieving an inventory of object classes and descriptions from OpsMgr 2007 […]