IT Toolbox
Menu
HomeHow to view installed software with PowerShell
Guide

How to view installed software with PowerShell

Build an inventory of the software declared in Windows uninstall keys….

TopicIT resources → About 1 min read

Build an inventory of the software declared in Windows uninstall keys….

Steps….

  1. Open Power Shell – Run Windows Terminal….
  2. Read 64 bit uninstall keys… — Ask HKLM:softwareMicrosoftWindowsCurrentUninstall version*….
  3. Add 32 bit view… — Ask also the question of the name of the company….
  4. Sort and export…. — SelectDisplay1 and DigitalVersion and Publisher and export to CSV if necessary…

Commands

Get-ItemProperty HKLM:SoftwareMicrosoftWindowsCurrentVersionUninstall* | Where-Object DisplayName | Select-Object DisplayName,DisplayVersion,Publisher | Sort-Object DisplayName
Get-ItemProperty HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstall* | Where-Object DisplayName | Select-Object DisplayName,DisplayVersion,Publisher | Sort-Object DisplayName

Key takeaways

  • Win32_Product is not recommended for a simple inventory as it can trigger MSI controls/repairs…
  • Not all softwares report their installation in the same way…
Support the development of BAOI Hosting, domains and new IT resources.
❤️ Support BAOI

My favorites