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.
| Cmdlet | Description |
|---|---|
| Connect-Windows365 | Connect to Windows 365 via Powershell |
| Disconnect-Windows365 | Disconnects from Windows 365 and clears the token cache. |
| Export-CPCProvisioningPolicy | Returns all Provisioning Policy's or Provisioning Policy's with a specific name |
| Get-CloudApp | Returns all Cloud PC Apps or Cloud PC Apps with a specific name |
| Get-CloudPC | Returns all CloudPC's or CloudPC's with a specific name |
| Get-CPCAuditEvent | Returns Cloud PC audit events |
| Get-CPCAzureNetworkConnection | Returns all Azure Network Connections or a specific Azure Network Connection |
| Get-CPCConnectivityHistory | Retrieves the connectivity history for a specific Cloud PC |
| Get-CPCCustomImage | Returns all Custom Images or Custom Images with a specific name |
| Get-CPCGalleryImage | Returns all gallery images or gallery images with a specific name |
| Get-CPCOrganizationSetting | Returns the Cloud PC Organization Settings |
| Get-CPCProvisioningPolicy | Returns all Provisioning Policy's or Provisioning Policy's with a specific name |
| Get-CPCRealTimeConnectionStatus | Retrieves the real-time remote connection status for a specific Cloud PC |
| Get-CPCRemoteActionResult | Retrieves the remote action results for a specific Cloud PC |
| Get-CPCRestorePoint | Get all restore point snapshots for a Cloud PC. |
| Get-CPCServicePlan | This function will return all currently available service plans |
| Get-CPCSupportedRegion | Returns all supported regions for CloudPC |
| Get-CPCUserSettingsPolicy | Returns all User Setting Policy's or User Setting Policy's with a specific name |
| Import-CPCProvisioningPolicy | Imports a Provisioning Policy from a JSON File |
| Invoke-CPCChangeUserAccountType | Changes the local account type of the user on a Cloud PC |
| Invoke-CPCCreateSnapshot | Creates an on-demand snapshot for a Cloud PC |
| Invoke-CPCEndGracePeriod | Function to end the grace period of a CloudPC |
| Invoke-CPCPowerOff | Powers off a Windows 365 Frontline Cloud PC |
| Invoke-CPCPowerOn | Powers on a Windows 365 Frontline Cloud PC |
| Invoke-CPCPublishCloudApp | Publishes a Cloud App to make it available to users |
| Invoke-CPCReboot | Reboots a CloudPC |
| Invoke-CPCRename | Renames a Cloud PC |
| Invoke-CPCReprovision | Reprovision a Cloud PC |
| Invoke-CPCResize | Resizes a Cloud PC to a new service plan (vCPU and storage configuration) |
| Invoke-CPCRestore | Restore a Cloud PC to a certain point in time. |
| Invoke-CPCRetryPartnerAgentInstallation | Retries installation of partner agents that failed to install on a Cloud PC |
| Invoke-CPCTroubleshoot | Triggers a troubleshoot action on a Cloud PC |
| Invoke-CPCUnpublishCloudApp | UnPublishes a Cloud App to make it unavailable to users |
| New-CPCAzureNetworkConnection | Adds a new Provisioning Policy |
| New-CPCCustomImage | Adds a new Custom Image |
| New-CPCProvisioningPolicy | Adds a new Provisioning Policy |
| New-CPCUserSettingsPolicy | Creates new Cloud PC User Settings Policy |
| Remove-CPCAzureNetworkConnection | Removes a Cloud PC Azure Network Connection |
| Remove-CPCCustomImage | Removes a Cloud PC Custom Image |
| Remove-CPCProvisioningPolicy | Removes a Cloud PC Provisioning Policy |
| Remove-CPCUserSettingsPolicy | Removes a Cloud PC User Settings Policy |
| Set-CPCCrossRegionDisasterRecovery | Configures cross-region disaster recovery settings on a Cloud PC User Settings Policy |
| Set-CPCProvisioningPolicyAssignment | Assign a Cloud PC Provisioning Policy to a group |
| Set-CPCUserSettingsPolicyAssignment | Assign a Cloud PC User Settings Policy to a group |
| Update-CPCAzureNetworkConnection | Updates an existing Azure Network Connection |
| Update-CPCOrganizationSetting | Update the Cloud PC organization settings |
| Update-CPCProvisioningPolicy | Update a Cloud PC Provisioning Policy |
| Update-CPCUserSettingsPolicy | Updates a User Settings Policy in the Intune Cloud PC Service |