Skip to content

Instantly share code, notes, and snippets.

@mateothegreat
Created June 15, 2017 13:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mateothegreat/69385732888f244e5583a8c2594d9bcd to your computer and use it in GitHub Desktop.
Save mateothegreat/69385732888f244e5583a8c2594d9bcd to your computer and use it in GitHub Desktop.
Get list of programs that can be uninstalled automatically.
PS C:\Windows\system32> New-PSDrive -Name Uninstall -PSProvider Registry -Root HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
PS C:\Windows\system32> dir Uninstall: | Get-ItemProperty -Name DisplayName, InstallDate, Publisher, InstallLocation, UninstallString, ModifyPath, EstimatedSize -ErrorAction SilentlyContinue | Sort-Object -Property DisplayName -ErrorAction SilentlyContinue
@mateothegreat
Copy link
Author

** snip **

DisplayName     : SoftEther VPN Server Manager
InstallDate     : 2017/06/14
Publisher       : SoftEther VPN Project
UninstallString : "C:\Program Files\SoftEther VPN Server Manager\vpnsetup.exe"
PSPath          : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\softether_sevpnsmgr
PSParentPath    : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
PSChildName     : softether_sevpnsmgr
PSProvider      : Microsoft.PowerShell.Core\Registry

DisplayName     : Speedify
Publisher       : Connectify
InstallLocation : C:\Program Files (x86)\Speedify
UninstallString : C:\Program Files (x86)\Speedify\Uninstall.exe
EstimatedSize   : 130522
PSPath          : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Speedify
PSParentPath    : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
PSChildName     : Speedify
PSProvider      : Microsoft.PowerShell.Core\Registry

** snip **

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment