I'm in the process of getting a script in orchestrator at my new gig. I
will send it later when I get to the office.

On Wed, Oct 7, 2015, 4:00 PM Tommy Carron <[email protected]> wrote:

> 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