lacollective.blogg.se

Powershell uninstall program
Powershell uninstall program








powershell uninstall program powershell uninstall program

The Name parameter specifies the package to uninstall. However, if the software was installed silently, there's a high possibility that it can be uninstalled silently by default, you will just need to call the uninstall command located in the uninstall string of the programs uninstall registry key.īelow is a PowerShell example that may work for you after some modifications. The Uninstall-Package cmdlet uninstalls packages. Even something simple like Yahoo Messenger, the command fails to uninstall the application when run from a Powershell Window as Administrator yet returns a. If you search on that node for Powershell you will find a key for KB926139-2. All programs installed on Windows (if done right) have a registry entry at HKLMSoftwareMicrosoftWindowsCurrentVersionUninstall location.

powershell uninstall program

There's not really a native or easy way to accomplish this with PDQ Deploy and PDQ Inventory, due to the logic needed to accomplish this. So I decicded to do some manual search about this installed program. You want to understand how to uninstall software based on the program name.










Powershell uninstall program