Hi Steven

Have you looked at the Powershell cmdlet:

Uninstall-SCOMAgent -ActionAccount<PSCredential>
[-Agent<AgentManagedComputer[]>] -PassThru [<CommonParameters>]

Tommy

On Thursday, 8 October 2015, Steven Peck <[email protected]> wrote:

> 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