CmdID / PowerShell / Cmdlets / Get
Get-ComputerRestorePoint
Gets the restore points on the local computer. PowerShell reference
From the PowerShell reference 2 parameters
What it does
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-ComputerRestorePointIdentifyGet specific sequence numbers
Get-ComputerRestorePoint -RestorePoint 4, 5IdentifyDisplay the status of a system restore
Get-ComputerRestorePoint -LastStatusIdentifyUse an expression to convert the CreationTime
$date = @{Label="Date"; Expression={$_.ConvertToDateTime($_.CreationTime)}}
Get-ComputerRestorePoint | Select-Object -Property SequenceNumber, $date, DescriptionIdentifyUse a property to get a sequence number
((Get-ComputerRestorePoint).SequenceNumber)[-1]IdentifyIts page in the reference: Get-ComputerRestorePoint.
Parameters
-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.