Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Uninstall the OMS Microsoft Monitoring Agent.
$server = ""
$app = Get-WmiObject -Class Win32_Product -computer $server | Where-Object {$_.Name -match "Microsoft Monitoring Agent"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.