What It Does
The script is read-only. It looks for install traces of well-known AI tools, one row per tool and place found. It checks installed programs for this PC and for signed-in users, Microsoft Store apps for all users, and per-user installs under each user's AppData folder, which need no admin rights and so never show in Programs and Features. Those include Claude, Ollama, LM Studio, GPT4All, Jan, Cursor, Windsurf and Perplexity Comet.
It also reads the VS Code extensions in each user's .vscode folder, for GitHub Copilot, GitHub Copilot Chat and Claude Code, and checks browser extensions by Chrome Web Store ID in every Chrome, Edge and Brave profile, for Grammarly.
The list covers common tools whose names, folders or IDs are known with confidence, not every AI product. Other AI browser extensions are not recognised here, so use get-browser-extensions with NameMatch to look for them by name. Web-only tools used in a browser tab leave no install and are not seen. Finding a tool means it is installed, not that it was used.
Before You Run It
- Run it as an administrator or from your RMM as SYSTEM, so it can read every user's profile.
- Treat the list as a starting point. Web-only tools such as chatgpt.com, claude.ai and gemini.google.com leave no install.
- Pair it with get-browser-extensions and NameMatch to look for AI browser extensions by name.
- Decide the policy before you act on the list. It only reports what is installed.
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: "5 AI tools found: ChatGPT desktop, Claude desktop, Cursor, GitHub Copilot (VS Code), Ollama"
- 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.
This script has no inputs of its own.
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.