Remove Run As Configuration and uninstall SCOM Agent with Powershell

Occasional Contributor

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?



0 Replies