List Installed Applications on macOS with Versions
Lists apps under /Applications with their bundle version.
- Windows18
- macOS5
- Linux5
- Network3
- Disk and storage4
- Inventory4
- Security9
- Updates4
- Maintenance4
Script
#!/bin/bash
for app in /Applications/*.app; do
version=$(defaults read "$app/Contents/Info" CFBundleShortVersionString 2>/dev/null || echo "unknown")
printf '%s\t%s\n' "$(basename "$app" .app)" "$version"
doneRun it on every device with Moftgate
- 01
Add the script
In the Moftgate console, open Scripts > New script and paste the code.
- 02
Select the OS
Select macOS as the target operating system.
- 03
Test it
Run it on one test device first and read the output.
- 04
Roll out
Send it to all targets by group, profile or tag. Each device result is recorded separately.
These may help too
List Installed Software on Windows
Lists installed programs with name, version and publisher from the 64-bit and 32-bit uninstall keys. It does not use Win32_Product, which can trigger MSI repairs.
Windows · PowerShellFind Installed AI Apps on Windows
Searches machine and user uninstall keys for AI apps such as ChatGPT, Claude, Copilot, Cursor, Perplexity, Ollama and LM Studio. A first step for a Shadow AI inventory.
Windows · PowerShellWindows System Information Summary
Returns computer name, manufacturer, model, serial number, OS version, CPU and RAM in one output.
Manage scripts from one console
Target selection, a confirmation step, per-device output and an audit log. The first 200 endpoints are free for a year.