Read the names, version numbers, and manufacturers of installed desktop programs. Sort the list alphabetically by program name and export it to a CSV file on the desktop.
Many traditional desktop applications store their data in the Windows Registry. You can create the following script example, or something similar, using the custom basic message (or just copy it from here). Read the inputs and save the results to a file on the desktop:
$paths = @(
"HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKLM:\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*",
"HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"
)
$desktop = [Environment]::GetFolderPath("Desktop")
Get-ItemProperty $paths -ErrorAction SilentlyContinue |
Where-Object { $_.DisplayName } |
Select-Object @{Name="Programme Name"; Expression={$_.DisplayName}},
@{Name="Version"; Expression={$_.DisplayVersion}},
@{Name="Publisher"; Expression={$_.Publisher}} |
Sort-Object Programme Name |
Export-Csv "$desktop\Installed-Programmes.csv" -NoTypeInformation -Encoding UTF8 -Delimiter ";"
Explanation: The three registry paths cover system-wide 64-bit and 32-bit programs, as well as applications registered only for the current user account. Display name, Display versionand Editor see the program name, version number, and publisher. Export-Csv save the details in the ‘Installed-Programs.csv’ file. The semicolon as a delimiter makes it easy to divide data into columns in a spreadsheet.
How to use the tool: Open PowerShell, copy the complete code into the console window, and press Enter. Then you will find the ‘Installed Programs.csv’ file on your desktop. You can open it in Excel, for example.
Advice: The list provides an overview of many classic desktop programs. Includes applications that store their installation data in the Windows Registry. However, Microsoft Store apps or portable programs may be missing if the corresponding entries are not created there.