Track Installed Programs with PowerShell "get-itemproperty" on Windows 8

Q

How to track and maintain installed programs with registry keys using PowerShell "get-itemproperty" on Windows 8? I know how to use PowerShell cmdlets.

✍: FYIcenter.com

A

If you want to get a list of all installed applications on your Windows 8 based on registry keys with PowerShell cmdlets, you can use the "get-childitem" cmdlet as described in this tutorial:

1. Start a PowerShell window

2. Run the following command to dump the "Uninstall" registry entries:

PS C:\fyicenter> get-itemproperty 
   HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*
   > Installed-Programs_Keys.txt

3. Open Installed-Programs_Keys.txt in Notepad. You see a list of installed programs recorded in the file, as shown in the example below:

HideDisplayName         : McAfee Security Scan Plus
DisplayIcon             : "C:\Program Files\McAfee Security Scan\uninstall.exe"
UninstallString         : "C:\Program Files\McAfee Security Scan\uninstall.exe"
VersionMajor            : 3
VersionMinor            : 11
VersionBuild            : 599
Version                 : 3.11.599.11
ExePath                 : C:\Program Files\McAfee Security 
                          Scan\3.11.599\McUICnt.exe
ExeParams               : SecurityScanner.dll
InstallVersionDirectory : C:\Program Files\McAfee Security Scan\3.11.599\
InstallDirectory        : C:\Program Files\McAfee Security Scan
Publisher               : McAfee, Inc.
EstimatedSize           : 10500
Rank                    : 10
DisplayVersion          : 3.11.599.11
Affid                   : 0
DisplayName             : McAfee Security Scan Plus
PSPath                  : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHIN
                          E\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
                          \McAfee Security Scan
PSParentPath            : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHIN
                          E\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
PSChildName             : McAfee Security Scan
PSDrive                 : HKLM
PSProvider              : Microsoft.PowerShell.Core\Registry
...

4. Run the command for other "Uninstall" registry locations:

PS C:\fyicenter> get-itemproperty 
   HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*
   >> Installed-Programs_Keys.txt
   
PS C:\fyicenter> get-itemproperty 
   HKU\{user1}\Software\Microsoft\Windows\CurrentVersion\Uninstall\*
   >> Installed-Programs_Keys.txt
   
PS C:\fyicenter> get-itemproperty 
   HKU\{user2}\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* 
   >> Installed-Programs_Keys.txt

 

Track Installed Programs with PowerShell "get-wmiobject" on Windows 8

Hidden Installed Programs in Control Panel on Windows 8

Uninstall Old or Bad Programs and Software on Windows 8

⇑⇑ Windows 8 Installed Programs

2018-01-03, 131👍, 0💬