CmdID

CmdID / PowerShell / Cmdlets / Get

Get-ComputerRestorePoint

Gets the restore points on the local computer. PowerShell reference

From the PowerShell reference 2 parameters

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

What it does

from the PowerShell reference, CC BY 4.0

Gets the restore points on the local computer. The Get-ComputerRestorePoint cmdlet gets the local computer's system restore points. And, it can display the status of the most recent attempt to restore the computer. You can use the information from Get-ComputerRestorePoint to select a restore point. For example, use a sequence number to identify a restore point for the Restore-Computer cmdlet. System restore points and the Get-ComputerRestorePoint cmdlet are supported only on client operating systems such as Windows 10.

Get-ComputerRestorePoint [[-RestorePoint] <Int32[]>] [<CommonParameters>]
Get-ComputerRestorePoint -LastStatus [<CommonParameters>]

Get all system restore points

Get-ComputerRestorePointIdentify

Get specific sequence numbers

Get-ComputerRestorePoint -RestorePoint 4, 5Identify

Display the status of a system restore

Get-ComputerRestorePoint -LastStatusIdentify

Use an expression to convert the CreationTime

$date = @{Label="Date"; Expression={$_.ConvertToDateTime($_.CreationTime)}} Get-ComputerRestorePoint | Select-Object -Property SequenceNumber, $date, DescriptionIdentify

Use a property to get a sequence number

((Get-ComputerRestorePoint).SequenceNumber)[-1]Identify

Its page in the reference: Get-ComputerRestorePoint.

Parameters

2 in the PowerShell reference
-LastStatusIndicates that Get-ComputerRestorePoint gets the status of the most recent system restore operation.
-RestorePointSpecifies the sequence numbers of the system restore points. You can specify either a single sequence number or a comma-separated array of sequence numbers. If the RestorePoint parameter isn't specified, Get-ComputerRestorePoint returns all the local computer's system restore points.