List uninstall strings using powershell

If you find yourself in the need of the uninstall string of an application and you have powershell installed on the machine, you could easily get a complete list of all installed applications and their uninstall string using the following command:

dir HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall | foreach-object {get-itemproperty $_.PSPath} | select-object DisplayName,uninstallstring

One thought on “List uninstall strings using powershell

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>