Skip to content
Menu

Installed Software Inventory and App Finder

Lists installed software from the registry, machine-wide and per user, or finds one app by name. Never uses Win32_Product, so it never triggers an MSI repair.

Installed software inventory and app finder is free for members.

Enter your email to create your free account and get the file.

We'll email you the script and the weekly MSP Outpost email. Unsubscribe anytime. Privacy policy.

Already a member? Sign in.

Be the first to review Installed software inventory and app finder. Tell other MSPs how it worked for you.

Write a Review

LanguagePowerShell
Runs onWindows 10, Windows 11, Windows Server 2016+; runs as SYSTEM
NeedsPowerShell 5.1, administrator rights
Read-onlyReads, changes nothing

What It Does

The script reads the uninstall registry keys that Programs and Features is built from: the machine-wide keys for 64-bit and 32-bit software, and the per-user installs of everyone who is signed in. It removes duplicates, skips hidden system components and, unless IncludeUpdates is true, leaves out Windows and product updates.

It never uses Win32_Product, because that query can trigger MSI checks and repairs. Microsoft Store apps are not included. A key that cannot be read is skipped and counted in a warning rather than stopping the report.

NameMatch narrows the list: a plain word like chrome matches any name containing it, and * and ? work as wildcards. With IncludeSignedOutUsers it also loads each signed-out user's registry hive to read their installs, then tries to unload it. Loading a hive can touch its transaction logs, and a hive that cannot be unloaded stays mounted until the next restart.

Before You Run It

  • Leave IncludeSignedOutUsers off on terminal servers. Loading a hive while someone signs in can hand them a temporary profile.
  • Remember Store apps are not in the list, so an app installed from the Microsoft Store will not appear.
  • When you are hunting for one app across a client, set NameMatch and read the answer line rather than the whole table.

Type and Risk

  • Type: Report. It collects facts into a table and never alerts. It exits 0, or 2 when it could not run.
  • Risk: Low. It reads and changes nothing.
  • Restart: It never restarts the machine.
  • Typical run: Under 30 seconds.
  • Example answer: "142 apps; 3 match 'chrome'"
  • Tested before listing on Windows 11 with Windows PowerShell 5.1, run as SYSTEM, against its own test cases.

Inputs

Pass an input as an argument (-Name value), as an environment variable with the same name, which is how most RMMs pass script variables, or change its default in the param() block at the top of the script. An argument wins over an environment variable, which wins over the default.

  • NameMatch: Only list apps whose name matches this text or wildcard, case-insensitive. Default * (all apps).
  • IncludeUpdates: true to also list Windows and product updates (KB entries). Default false.
  • IncludeSignedOutUsers: true to also read the per-user installs of users who are signed out, by loading their NTUSER.DAT. Default false. Per-user installs of signed-in users are always read.

Every script also takes DryRun, OutputFormat (Text, Answer, Json or Csv), ExportPath and ResultField, which writes the answer to an RMM custom field.

License

Provided "as is" under the MIT License, without warranty of any kind. Test before production use. MSP Outpost and User First Digital Inc. accept no liability for any damage or loss.

The Script

get-installed-software.ps1 · 934 lines · 47.3 KB

Free for Members

Create a free account or sign in to read, copy and download this script.

Welcome Back

Sign in to your MSP Outpost account.