Design a site like this with WordPress.com
Get started

2x methods to list installed apps by Powershell

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

Advertisement

One thought on “2x methods to list installed apps by Powershell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: