Many thanks! That is exactly what I needed. From: [email protected] [mailto:[email protected]] On Behalf Of Brandon Ryan Sent: Thursday, November 13, 2014 9:59 AM To: [email protected] Subject: RE: [msmom] powershell query
This is a basic query, it can be expanded if you want more information. $class = Get-SCOMClass -Name "Microsoft.Windows.Computer" Get-SCOMClassInstance -Class $class | Format-Table From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Haysley, Adam Sent: Thursday, November 13, 2014 8:50 AM To: '[email protected]' Subject: [msmom] powershell query Fairly new at SCOM. Is there a powershell query to get the results of the “Windows Computers” screen in SCOM 2012? I want Overall State, Maintenance Mode, Name, Agent State, Windows Operating System State. Thanks! Adam [email protected]<mailto:[email protected]> The information contained in this E-mail transmission is intended only for the use of the individual or entity to whom it is addressed. It may contain privileged, confidential, and protected health information. If you received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then please delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. Thank you for your cooperation. Please contact the sender if you need assistance. Dedicated to Hope, Healing and Recovery. The information contained in this E-mail transmission is intended only for the use of the individual or entity to whom it is addressed. It may contain privileged, confidential, and protected health information. If you received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then please delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. To do so could violate state and Federal privacy laws. Thank you for your cooperation. Please contact the sender if you need assistance. Dedicated to Hope, Healing and Recovery.
