PowerShell audit scripts in AlloyScan

AlloyScan uses PowerShell during Windows audits to collect the installed version of your internal app. Find the PCs still reporting the old version and confirm the update at the next audit.

AlloyScan Inventory list of Windows computers and a PowerShell window with a script that returns Warehouse Client version 4.7.2

Know where to follow up after a rollout

Find the remaining PCs

Filter Inventory by the old version to get a list of computers that still report it.

Confirm the update

After a follow-up audit, check the new version and the date AlloyScan found it.

Track apps standard scans miss

Bring in-house and portable apps into the Software catalog with custom recognition rules.

See which warehouse PC still needs the update

In this example, the IT team rolled out Warehouse Client 4.8.0. AlloyScan shows where version 4.7.2 is still present and provides a record of the follow-up audit.

AlloyScan Inventory grid filtered by the Warehouse Client version column: 4.7.2 is checked in the filter list and the grid shows WH-PC-103.

Find the workstation still on 4.7.2

Filter by Warehouse Client version to see which workstations reported 4.7.2 in their latest audit. In this example, WH-PC-103 is the one to follow up on.

Check the audit date to see how recent that result is.

Confirm that WH-PC-103 reached 4.8.0

After IT updates the workstation, the next audit reports 4.8.0. With Change tracking enabled for the field, the device record shows the previous version, the new version, and when AlloyScan detected the change.

AlloyScan, Change history tab of WH-PC-103: in the Custom audit fields category, Warehouse Client version changed from 4.7.2 to 4.8.0 on 12/2/2026.

See where a portable app is installed

Use custom software recognition to find apps missing from the Windows installed-programs list. In this example, AlloyScan finds Shipping Label Tool and lists its version and install count in the Software catalog.

AlloyScan Software catalog: Shipping Label Tool 2.3.1 by Northwind IT with an install count of 5, listed next to Notepad++, PuTTY and Slack.

Add a custom check to your next audit

Define a custom audit field for Windows computers, add a PowerShell script that returns the value, and run an audit. AlloyScan saves the result with the device so you can add it to an Inventory view.

The script for this example returns the product version of the app’s executable:

$dir = 'C:\Program Files\Warehouse Client'
$exe = Join-Path $dir 'WarehouseClient.exe'
if (Test-Path $exe) {
    (Get-Item $exe).VersionInfo.ProductVersion
}
See the custom audit field setup
AlloyScan, Add new field form: label Warehouse Client version, device type Windows computer, field type String, and a PowerShell script that reads the product version of WarehouseClient.exe.
See the software recognition rule
AlloyScan, Add new software recognition script form: rule Shipping Label Tool with a PowerShell script that returns Name, Version, Publisher, InstallDate, SerialNumber and InstallKey.

What else a PowerShell audit script can do

The app version is one example. A script can return any value from a Windows computer. It can also make a change on the computer and report the result.

A registry value

Read a setting that an app or a policy writes to the registry and store it as text or a number.

A file or folder check

Return yes or no: is the license file, the certificate or the configuration file where it should be?

Local administrators

Return the members of the local Administrators group as a table.

Days since the last restart

Return a number and filter Inventory for computers that have not restarted for a month.

Fix a setting

Set a registry value or start a stopped service, and return what the script did.

Install an update

Install a missing update or a new version of an in-house app, and return the result. Inventory shows where it worked.

The flexibility is endless, this product is capable of doing anything you design. It can output to batch files, automate tasks and digitize forms. The only limitation is your imagination.

Mike Gates Photo

Mike Gates

Infrastructure Manager, Ibstock PLC

Discover other Network Inventory features

Awards and recognition for Alloy Software

Recognized by the American Business Awards, G2, GigaOm and Globee. See all awards

Gold Stevie Award winner 2026, American Business Awards

Stevie 2026

G2 Leader Small Business, Fall 2026

G2 2026

GigaOm Radar for IT Asset Management, Challenger 2025

GigaOm 2025

Gold Stevie Award winner 2025, American Business Awards

Stevie 2025

Globee Awards gold medal

Globee 2023

Questions about PowerShell audit scripts

How are audit scripts different from Tools?

They do different jobs. An audit script runs during the audit, and AlloyScan stores its result with the device, so you can filter by it and track its changes. A Tool is an action you start yourself from a device record, such as Ping or Remote Desktop. It runs on your own workstation through the Alloy Integration Launcher, and AlloyScan does not keep its output. Use audit scripts to collect inventory data and Tools to work with a device right now.

What can a script return?

A value that matches the field type, such as text, a number, a date, a yes-or-no answer, or a table.

Which devices can custom audit fields cover?

This example uses a PowerShell audit field on Windows computers. Supported AWS and Azure resources can also use PowerShell fields through Local Audit Service. For SNMP printers and switches, a custom audit field reads an SNMP OID. Each field belongs to one device type.

When do the values appear?

After the next audit of the device. Audits made before you created the field do not get the value, so audit the devices again to fill it in everywhere.

How do I see what changed between audits?

Turn on Change tracking. Changes to custom audit fields are then recorded in their own category, with the old value, the new value and the date.

Who can add fields and recognition rules?

Site Administrators. Fields and rules belong to one Site, and AlloyScan does not check the script when you save it, so test it on one device first.

See how AlloyScan can verify your next rollout

Bring an internal app or a setting you track manually. We’ll show how to collect it during an audit and find the devices that need follow-up.

Transparent pricing

Clear pricing per device for cloud network inventory.

Customer stories

See how IT teams keep their inventory complete and up to date with Alloy Software.

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

You can always block or delete cookies by changing your browser settings. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Privacy Policy