Is there a PowerShell way to remove agents from the SCOM console (like right click remove) (OpsManager 2012r2). Most searches seem to indicate remove from database which makes me nervous.
Currently by the time I am told of a server being decommed, it’s generally shut down and possibly already deleted out of our virtual environment so I would like to introduce some automation either in PowerShell or Orchestrator. Thanks, Steven
