Get-CPCServicePlan
SYNOPSIS
This function will return all currently available service plans
SYNTAX
Get-CPCServicePlan [[-ServicePlanName] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
DESCRIPTION
This function will return all currently available service plans, or the service plan whose display name exactly matches -ServicePlanName (case-insensitive). The servicePlans endpoint does not support OData query parameters, so all plans are retrieved (following paging) and the name is matched on the client.
EXAMPLES
EXAMPLE 1
Get-CPCServicePlan
EXAMPLE 2
Get-CPCServicePlan -ServicePlanName "Cloud PC Enterprise 2vCPU/8GB/128GB"
PARAMETERS
-ServicePlanName
Enter the exact display name of the service plan you want to retrieve, for example "Cloud PC Enterprise 2vCPU/8GB/128GB"
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction
Determines how PowerShell responds to progress updates generated by a script, cmdlet, or provider, such as the progress bars generated by Write-Progress.
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
Required permission: CloudPC.Read.All https://learn.microsoft.com/graph/api/virtualendpoint-list-serviceplans?view=graph-rest-beta