Created
June 9, 2015 08:54
-
-
Save kfstorm/42b52804e8b9308ec3de to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$r1 = "Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall" | |
$r2 = "Registry::HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall" | |
$r3 = "Registry::HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | |
$r4 = "Registry::HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall" | |
(Dir $r1) + (Dir $r2) + (Dir $r3) + (Dir $r4) | where {$_.GetValue("SystemComponent") -ne 1}| where {$_.GetValue("ParentDisplayName") -eq $null} | %{$_.GetValue("DisplayName")} | sort -Unique | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment