Manually Trigger Object Discoveries in SCOM

Chiyo OdikaOpsMgr, PowerShell, SCOMLeave a Comment

System Center Operations Manager (SCOM), a component of Microsoft System Center 2016 is a software that helps you monitor services, devices, and operations for computers within your infrastructure. This article provides an overview of object discoveries in SCOM and how to manually trigger them. Note that System Center Operations Manager (SCOM 2016) is still in its technical preview (TP5) at the time of this posting but will be launched in a few weeks during Microsoft Ignite 2016. SCOM uses a agent installed on a computer to collect data, compare sampled data to predefined values, create alerts, and run responses. The agent then sends monitoring data to the management server in the SCOM management group. Management servers run various services, including … Read More

Chiyo OdikaManually Trigger Object Discoveries in SCOM

PowerShell Queries and Square Brackets

Chiyo OdikaGENERAL, PowerShell, SCOM, UncategorizedLeave a Comment

I recently encountered an interesting issue while trying to query class instances in SCOM. The class instances for certain classes will return the parent class as well as associated classes in the following format: [Parent Class Name].attribute. For instance the class instance for Microsoft.Windows.Computer returns the following:

  Ok so this returns expected values. Now let’s return a specific object instead of all objects:

This returns nothing, even though we clearly see values for the Logical Processors when we select all objects. After some checking, re-checking, and second guessing, I found an article that’s as short as the solution is simple. Apparently double-escaping is required for the parser to properly handle square brackets in strings. Note that the … Read More

Chiyo OdikaPowerShell Queries and Square Brackets