Created
October 2, 2018 13:54
-
-
Save MagicAndi/e07c92afcf6905a0fafbcd81d2a63137 to your computer and use it in GitHub Desktop.
PowerShell one liner to create a CSV file of all installed programs.
This file contains hidden or 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
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Sort-Object DisplayName | Export-CSV -Path C:\Temp\InstalledPrograms.csv -NoTypeInformation -Delimiter "|" | foreach { $_ -replace '^"','' -replace "`"|`"", "|" -replace '"$','' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment