Free tool

Software inventory script generator for Windows and Mac

Pick Windows or Mac, pick the fields, and copy a read-only script that exports installed applications to CSV. It runs on that one computer and does not contact Smantix. The same fields across an estate need an agent: Windows is supported, and the macOS agent is in early access.

One computerRead onlyCSV in the current directory
smantix · inventory scriptLocal script
Windows sources and fields

CSV columns appear here.

Review before running. This free helper is provided as-is for testing. It is not the supported Smantix agent, does not provide remote inventory management, and is not covered by a support SLA. Test it on one device first and follow your organisation's endpoint security policy.

The script is built in this browser from the options above.

What the script collects

The Windows script reads the machine uninstall keys in both registry views. Run it in 64-bit PowerShell. Add the current user or Store apps only if you select them. The Mac script reads application bundles in /Applications, and the home Applications folder only if you select it. Computer name and display name are always included so files from several computers can be combined later.

Sample CSV

ComputerName,DisplayName,DisplayVersion,Publisher
EXAMPLE-PC,Example Editor,2.4.1,Example Software Ltd

This sample is the column guide. It is not a scan of a real computer. With JavaScript off, use the sample as the shape of the export. The generated script still has to be reviewed before anyone runs it.

What one computer misses

  • Other people's installs, unless you run the script in each profile you care about.
  • Windows software that has no uninstall entry.
  • Store apps, unless that option is selected, and then only for the current user.
  • Mac software outside /Applications, and outside the home Applications folder when that option is off.
  • Mac bundles nested more than two folders deep.

Questions about software inventory scripts

How do I export installed software to CSV?

Choose Windows or Mac, choose the fields, then copy or download the script. Run it on one computer. It writes a CSV file in the current directory.

Why should I avoid Win32_Product?

Win32_Product can start a Windows Installer consistency check and it is slow. The Windows script reads uninstall registry keys instead, in both the 32-bit and 64-bit views.

How do I run this across many devices?

This script is for one computer. Smantix collects the same kind of inventory from an agent on each device. Windows is supported, and the macOS agent is in early access.