Skip to main content

Get-CloudPCServicePlan

Returns Windows 365 Cloud PC service plans.

Description

Calls the Microsoft Graph beta https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/servicePlans endpoint and returns the Cloud PC service plans available to the tenant.

The Graph servicePlans API does not support OData query parameters, so DisplayName and Type filters are applied client-side.

Syntax


Get-CloudPCServicePlan [[-DisplayName] <string>] [[-Type] <string>] [<CommonParameters>]

Parameters

NameTypeRequiredAliasesDescription
DisplayNameStringNoName, ServicePlanNameOptional exact display name filter. Alias: Name.
TypeStringNoOptional service plan type filter, such as enterprise or business.

Output

Id : 00000000-0000-0000-0000-000000000000
DisplayName : Cloud PC Enterprise 4vCPU/16GB/128GB
Type : enterprise
VCpuCount : 4
RamGB : 16
StorageGB : 128
UserProfileGB : 25

Graph endpoints

/beta/deviceManagement/virtualEndpoint/servicePlans

Example 1

Get-CloudPCServicePlan | Format-Table DisplayName,Type,VCpuCount,RamGB,StorageGB

Example 2

Get-CloudPCServicePlan -Type enterprise |
Sort-Object VCpuCount,RamGB,StorageGB

Example 3

Get-CloudPCServicePlan -DisplayName 'Cloud PC Enterprise 4vCPU/16GB/128GB'

Source

View Get-CloudPCServicePlan.ps1 on GitHub