Skip to content

Instantly share code, notes, and snippets.

@drjonnicholson
Created September 29, 2021 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drjonnicholson/3e228eaf1a2c5efcea2f62a73e7df91d to your computer and use it in GitHub Desktop.
Save drjonnicholson/3e228eaf1a2c5efcea2f62a73e7df91d to your computer and use it in GitHub Desktop.
List all 32 and 64 bit applications installed on a Windows 10 machine
@echo off
echo Fetching 32 bit applications...
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | sort-object -property DisplayName | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate}" > %USERNAME%.32bit.txt
echo Fetching 64 bit applications...
PowerShell -NoProfile -ExecutionPolicy Bypass -Command "& {Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | sort-object -property DisplayName | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate}" > %USERNAME%.64bit.txt
echo Completed...
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment