Skip to main content

Cmdlet reference

The PSCloudPC module exports 48 cmdlets. Every page below is generated from the comment-based help in the PSCloudPC repository, so you can get the same information in your shell:

Get-Command -Module PSCloudPC
Get-Help Get-CloudPC -Full

Not connected yet? Start with Connect-Windows365 and the authentication guide.

CmdletDescription
Connect-Windows365Connect to Windows 365 via Powershell
Disconnect-Windows365Disconnects from Windows 365 and clears the token cache.
Export-CPCProvisioningPolicyReturns all Provisioning Policy's or Provisioning Policy's with a specific name
Get-CloudAppReturns all Cloud PC Apps or Cloud PC Apps with a specific name
Get-CloudPCReturns all CloudPC's or CloudPC's with a specific name
Get-CPCAuditEventReturns Cloud PC audit events
Get-CPCAzureNetworkConnectionReturns all Azure Network Connections or a specific Azure Network Connection
Get-CPCConnectivityHistoryRetrieves the connectivity history for a specific Cloud PC
Get-CPCCustomImageReturns all Custom Images or Custom Images with a specific name
Get-CPCGalleryImageReturns all gallery images or gallery images with a specific name
Get-CPCOrganizationSettingReturns the Cloud PC Organization Settings
Get-CPCProvisioningPolicyReturns all Provisioning Policy's or Provisioning Policy's with a specific name
Get-CPCRealTimeConnectionStatusRetrieves the real-time remote connection status for a specific Cloud PC
Get-CPCRemoteActionResultRetrieves the remote action results for a specific Cloud PC
Get-CPCRestorePointGet all restore point snapshots for a Cloud PC.
Get-CPCServicePlanThis function will return all currently available service plans
Get-CPCSupportedRegionReturns all supported regions for CloudPC
Get-CPCUserSettingsPolicyReturns all User Setting Policy's or User Setting Policy's with a specific name
Import-CPCProvisioningPolicyImports a Provisioning Policy from a JSON File
Invoke-CPCChangeUserAccountTypeChanges the local account type of the user on a Cloud PC
Invoke-CPCCreateSnapshotCreates an on-demand snapshot for a Cloud PC
Invoke-CPCEndGracePeriodFunction to end the grace period of a CloudPC
Invoke-CPCPowerOffPowers off a Windows 365 Frontline Cloud PC
Invoke-CPCPowerOnPowers on a Windows 365 Frontline Cloud PC
Invoke-CPCPublishCloudAppPublishes a Cloud App to make it available to users
Invoke-CPCRebootReboots a CloudPC
Invoke-CPCRenameRenames a Cloud PC
Invoke-CPCReprovisionReprovision a Cloud PC
Invoke-CPCResizeResizes a Cloud PC to a new service plan (vCPU and storage configuration)
Invoke-CPCRestoreRestore a Cloud PC to a certain point in time.
Invoke-CPCRetryPartnerAgentInstallationRetries installation of partner agents that failed to install on a Cloud PC
Invoke-CPCTroubleshootTriggers a troubleshoot action on a Cloud PC
Invoke-CPCUnpublishCloudAppUnPublishes a Cloud App to make it unavailable to users
New-CPCAzureNetworkConnectionAdds a new Provisioning Policy
New-CPCCustomImageAdds a new Custom Image
New-CPCProvisioningPolicyAdds a new Provisioning Policy
New-CPCUserSettingsPolicyCreates new Cloud PC User Settings Policy
Remove-CPCAzureNetworkConnectionRemoves a Cloud PC Azure Network Connection
Remove-CPCCustomImageRemoves a Cloud PC Custom Image
Remove-CPCProvisioningPolicyRemoves a Cloud PC Provisioning Policy
Remove-CPCUserSettingsPolicyRemoves a Cloud PC User Settings Policy
Set-CPCCrossRegionDisasterRecoveryConfigures cross-region disaster recovery settings on a Cloud PC User Settings Policy
Set-CPCProvisioningPolicyAssignmentAssign a Cloud PC Provisioning Policy to a group
Set-CPCUserSettingsPolicyAssignmentAssign a Cloud PC User Settings Policy to a group
Update-CPCAzureNetworkConnectionUpdates an existing Azure Network Connection
Update-CPCOrganizationSettingUpdate the Cloud PC organization settings
Update-CPCProvisioningPolicyUpdate a Cloud PC Provisioning Policy
Update-CPCUserSettingsPolicyUpdates a User Settings Policy in the Intune Cloud PC Service