Last active
May 28, 2022 04:45
-
-
Save eggist77/8cce9880f1f66819c52c3a9c61a31dc8 to your computer and use it in GitHub Desktop.
powershell Get a list of installed applications
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
$CurrentDir = Split-Path $MyInvocation.MyCommand.Path | |
# 1 | |
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | | |
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | | |
Export-csv -path $CurrentDir"\ProgramList1.csv" -Encoding Default -NoTypeInformation | |
# 2 | |
Get-ItemProperty HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\* | | |
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | | |
Export-csv -path $CurrentDir"\ProgramList2.csv" -Encoding Default -NoTypeInformation | |
# 3 | |
Get-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | | |
Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | | |
Export-csv -path $CurrentDir"\ProgramList3.csv" -Encoding Default -NoTypeInformation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment