Collections:
Other Resources:
Track Installed Programs with PowerShell "get-itemproperty" on Windows 7
How to track and maintain installed programs with registry keys using PowerShell "get-itemproperty" on Windows 7? I know how to use PowerShell cmdlets.
✍: FYIcenter.com
If you want to get a list of all installed applications on your Windows 7
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:
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWA RE\Microsoft\Windows\CurrentVersion\Uninstall\LenovoAutoScrol lUtility PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWA RE\Microsoft\Windows\CurrentVersion\Uninstall PSChildName : LenovoAutoScrollUtility PSDrive : HKLM PSProvider : Microsoft.PowerShell.Core\Registry (default) : TVTNAME : VS DisplayName : Lenovo Auto Scroll Utility Publisher : Lenovo UninstallString : "C:\windows\system32\rundll32.exe" "C:\Program Files\Lenovo\V IRTSCRL\cleanup.dll",InfUninstallEx DefaultUninstall.LH C:\Pr ogram Files\Lenovo\VIRTSCRL\tpdu_vs.inf DisplayVersion : 2.20 DisplayIcon : C:\Program Files\Lenovo\VIRTSCRL\virtscrl.exe EstimatedSize : 500 PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWA RE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Secur ity Client PSParentPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\SOFTWA RE\Microsoft\Windows\CurrentVersion\Uninstall PSChildName : Microsoft Security Client PSDrive : HKLM PSProvider : Microsoft.PowerShell.Core\Registry DisplayIcon : C:\Program Files\Microsoft Security Client\EppManifest.dll,-1 00 UninstallString : "C:\Program Files\Microsoft Security Client\Setup.exe" /x Publisher : Microsoft Corporation NoModify : 1 NoRepair : 1 InstallLocation : C:\Program Files\Microsoft Security Client URLInfoAbout : http://go.microsoft.com/fwlink/?LinkId=225780&mkt=en-us DisplayName : System Center Endpoint Protection VersionMajor : 4 VersionMinor : 10 Version : 67764431 DisplayVersion : 4.10.207.0 InstallDate : 20161215 ...
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\...\Software\Microsoft\Windows\CurrentVersion\Uninstall\* >> Installed-Programs_Keys.txt PS C:\fyicenter> get-itemproperty HKU\...\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* >> Installed-Programs_Keys.txt
⇒ Track Installed Programs with PowerShell "get-wmiobject" on Windows 7
⇐ Hide Installed Programs in Control Panel on Windows 7
2017-04-28, 3501🔥, 0💬
Popular Posts:
How to download and install Yahoo Toolbar for Internet Explorer (IE) 7 browser? Yahoo Toolbar adds s...
How to connect your computer to a wireless router? Here are the steps of how to connect your compute...
How to verify if your system is connected to the wireless network? Windows system has two commands "...
What is "Remote Access Auto Connection Manager" in my Windows XP service list? And how is "Remote Ac...
What is the best way to remove programs from the startup application list? There are a number of way...