Forum Discussion

RomanK7's avatar
RomanK7
Brass Contributor
Nov 22, 2022

Remove Run As Configuration and uninstall SCOM Agent with Powershell

Hi
I have a question about the automation with Powershell.
How can I remove a computer from a Run As Configuration (Accounts):
SCOM > Administration > Accounts > "Account Name" > Distribution > "Selected Computers"

 

And then uninstall the SCOM Agent via Powershell?

Are both steps possible with Powershell?

 

Thanks

Resources