Skip to main content

WindowsCloudPC

WindowsCloudPC is a PowerShell module for Windows 365 administrators who want fast, scriptable access to Cloud PC inventory and operations through Microsoft Graph beta APIs.

Use it when you need to:

  • Audit Cloud PCs, provisioning policies, user assignments, regions, settings, and launch details.
  • Report Cloud PC usage and identify idle or recently active devices.
  • View restore point snapshots and create new snapshots at single-device, user, policy, or tenant scope.
  • Reprovision Cloud PCs safely with -WhatIf, -Force, and explicit exclusions.
  • Inspect cloud licensing allotments and available license capacity.
Install-Module WindowsCloudPC -Scope CurrentUser
Connect-CloudPC
Get-CloudPCUsage | Format-Table CloudPcName,UsageStatus,DaysSinceLastSignIn

Documentation map

PageUse it for
Getting startedInstall, import, connect, and run the first commands.
Inventory and reportingCloud PC inventory, policy grouping, usage, launch detail, and remote actions.
SnapshotsViewing restore points and creating snapshots.
ReprovisioningReprovisioning one Cloud PC or all Cloud PCs assigned to a provisioning policy.
LicensingCloud licensing allotment discovery.
PermissionsGraph scopes used by each command area.
Command referenceGenerated help for every public command.
info

The module uses Microsoft Graph beta endpoints because several Windows 365 Cloud PC operations are only exposed there. Test automation in a non-production tenant before using write operations broadly.