Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
remotely uninstall software
Please try below code:
$app = Get-WmiObject -Class Win32_Product | Where-Object {
$_.Name -match "Software Name"
Please use invoke-command above code to run them on the remote computer, in addition, the below article should be helpful:
Use PowerShell to Find and Uninstall Software
wershell: Uninstall software on remote computer
Yan Li
TechNet Community Support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment