How To Remotely Uninstall A Program using PowerShell
How To Remotely Uninstall A Program using PowerShell
How To Remotely Uninstall and Install A Program using PowerShell?
How can I uninstall an application using PowerShell?
How To Remotely Uninstall A Program using PowerShell Method 1
Connect the remote PC/Laptop or VM using below command:-
.\PsExec.exe \\remote pc host name -s powershell
Now Run below commands to uninstall the programs from remote pc/laptop or vm:-
1. Get-WmiObject -Class Win32_Product | Select-Object -Property Name
2. $App = Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq “”}
3. $App.Uninstall()