Specially Greyed out agents can be challenging, because agent is still communicating with Management Server. Lot of people seems to be interested in Greyed out State Agents. This script is designed to Get the SCOM Agent states, which can be Available or Not Available (Un-Monitored or Greyed out). Scripts is provided as ASIS and no personal or official guarantee is taken. Requirements: System Center Operations Manager Tested Environment: System Center 2012 R2 Operations Manager, System Center Operations Manager 2007 & 2007 R2, Powershell Version 3.0 & 4.0 NOTE: Script is designed to run only on SCOM Management Server. This Powershell Script gets All the agents for SCOM Instance, Display the results and Export to CSV if required. Get SCOM Agents Greyed out, Uninitialized or Monitored State using Powershell