What It Does
The script is read-only and writes one row each, with Check, Value and Ready. For Windows it reads the version and build: Windows 10 22H2 (build 19045) or later is ready, and Windows Server is skipped. For Microsoft 365 Apps it reads whether they are installed through Click-to-Run, the build, and 32 or 64 bit.
The update channel counts too. Current Channel and Monthly Enterprise Channel are ready. Semi-Annual Enterprise Channel is not ready, with Copilot limited, unless AllowSemiAnnual is true, and any other channel is not ready. Entra ID state comes from dsregcmd /status: Entra joined, hybrid joined or Entra registered is ready, and a PC with none of them has no work account sign-in for Copilot. Only the machine state is read, because whether a user is signed in with a licensed account is not visible to SYSTEM.
The new Outlook, new Teams, the Windows Copilot app, the Microsoft 365 Copilot app and the Windows Recall optional feature are shown as present or not, for information, and are always ready.
The answer is Ready for Microsoft 365 Copilot, or Not ready with the blockers. A Report never alerts, so the status is OK either way and the custom field receives Ready or Not ready. Licences in the tenant are not checked.
Before You Run It
- Check the licences in your tenant separately. This script reads only the PC.
- Decide whether Semi-Annual Enterprise Channel is acceptable for the client, and set AllowSemiAnnual to match.
- Run it from your RMM as SYSTEM so it can read the device join state.
- Use ResultField to write Ready or Not ready to a custom field, and sort a fleet by it.
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: "Not ready for Microsoft 365 Copilot: Microsoft 365 Apps on Semi-Annual Enterprise Channel (Copilot limited); not Entra joined or registered"
- 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.
- AllowSemiAnnual: true to count Semi-Annual Enterprise Channel as ready (default false).
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.