Microsoft doesn’t provide a GUI native way to export the apps you see as below. Why? I don’t know, but via CMD you’ve got a few options.
I often use scripts from my co-worker Jon Pitre (GitHub), so I’ve already got the PowerShell app deploy toolkit installed, so, I can just run the following code to quickly generate a report
Get-InstalledApplication -WildCard * | Select DisplayName, DisplayVersion, Publisher
However, PSADT is a third party module, to install it, you need public internet access. Bad luck, maybe? it’s come up for me many times over the years, i’ve been working in an environment that blocks such modules, as such, there’s another means, built right into most versions of windows
Get-WMIObject -Query “SELECT * FROM Win32_Product” | Select name, Vendor, Version, Caption
This was tested on Win 10 / Win 11 and Server 2022, if it doesn’t work on a joe dirt version of binbowz like 2012 R2 / Win 2016, try updating Powershell as such
You can then use the above code to pipe to CSV via the following:
Get-WMIObject -Query “SELECT * FROM Win32_Product” | Select name, Vendor, Version, Caption | Export-CSV -filepath c:\CSVFolderYouWantTouse\installedApps.csv
One thought on “2x methods to list installed apps by Powershell”
any chance of moving to ciminstances as i thought wmi is deprecated – still decent though!