Skip to main content

Get-CPCRestorePoint

SYNOPSIS​

Get all restore point snapshots for a Cloud PC.

SYNTAX​

Get-CPCRestorePoint [-Name] <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION​

Returns all available restore point snapshots for a given Cloud PC. Snapshots can be used with Invoke-CPCRestore to restore the Cloud PC to a previous state.

EXAMPLES​

EXAMPLE 1​

Get-CPCRestorePoint -Name "CloudPC01"

PARAMETERS​

-Name​

The display name of the Cloud PC.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
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​

API reference: https://learn.microsoft.com/en-us/graph/api/cloudpc-retrievesnapshots Required permission: CloudPC.Read.All