Created
September 29, 2021 16:22
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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