OPS / POWERSHELL LIBRARY

Microsoft Intune PowerShell scripts

Use these Microsoft Intune templates to review managed devices, compliance, ownership, configuration, application assignments and Windows Autopilot inventory through Microsoft Graph. The collection stays read-only: it reports Intune state without intentionally changing policies, applications, enrollment records or managed devices.

13Scripts9Free4Pro
HOW TO USE THIS COLLECTION

Start with the task, then review the requirements.

Every linked script page documents its runtime, modules, permissions, inputs, output, action and risk before you generate anything.

Microsoft Graph Intune permissionsIntune reports use task-specific delegated Graph read scopes. Review the permission on each script instead of granting one broad device-management scope.
Read-only administrationThe collection inventories devices, policies, assignments, applications and enrollment identities without intentionally changing Intune configuration.
Stable API boundaries stay visibleStable v1.0 endpoints are preferred. Settings Catalog configurationPolicies remain explicitly outside the stable configuration-profile export while Microsoft documents that surface under Graph beta.
01 / COLLECTION

Managed device inventory & ownership

3 focused templates with individual runtime, permission, risk, input and output guidance.

02 / COLLECTION

Compliance policies & device state

4 focused templates with individual runtime, permission, risk, input and output guidance.

03 / COLLECTION

Configuration & application assignments

2 focused templates with individual runtime, permission, risk, input and output guidance.

04 / COLLECTION

Windows Autopilot & device identity

4 focused templates with individual runtime, permission, risk, input and output guidance.

POWERSHELL COLLECTIONS

Browse another workload.

Move between workload collections without returning to the full 135-script library.

BUILD / REVIEW / RUN

Generate from the PowerShell Builder.

Opselith does not execute these scripts against your tenant. Generate, review and run them in your own PowerShell environment.