Hi

Have a look at 
https://github.com/Stijnc/Powershell/blob/master/Remove-ScomAgent  Seems Stijn 
missed a remove-agent cmdlet too☺

I haven’t tried it, but it looks good

Fra: [email protected] [mailto:[email protected]] På 
vegne af Steven Peck
Sendt: 7. oktober 2015 16:42
Til: [email protected]
Emne: [msmom] Remove agents from console

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





Reply via email to