Skip to content

Instantly share code, notes, and snippets.

@ArtemAvramenko
Created April 18, 2025 09:45
Show Gist options
  • Save ArtemAvramenko/2b3afd30d8d626ec44862c11e5b87b4d to your computer and use it in GitHub Desktop.
Save ArtemAvramenko/2b3afd30d8d626ec44862c11e5b87b4d to your computer and use it in GitHub Desktop.
A one-line script that displays all installed software on the PC
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* , HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | ForEach-Object { if ($_.DisplayName -eq $null) {$_.PSChildName} else {$_.DisplayName} } | Sort-Object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment