CmdID / PowerShell / Cmdlets / Restore
Restore-Computer
Starts a system restore on the local computer. PowerShell reference
From the PowerShell reference 3 parameters
What it does
Starts a system restore on the local computer. The Restore-Computer cmdlet restores the local computer to the specified system restore point. Restore-Computer restarts the computer. The restore is completed during the restart operation. System restore points and Restore-Computer are supported only on client operating systems, such as Windows 7, Windows Vista, and Windows XP.
Restore-Computer [-RestorePoint] <Int32> [-WhatIf] [-Confirm] [<CommonParameters>]
Restore the local computer
Restore-Computer -RestorePoint 253IdentifyRestore the local computer with confirmation
PS> Restore-Computer -RestorePoint 255 -Confirm
Confirm
Are you sure you want to perform this action?
Performing operation "Restore-Computer" .
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):IdentifyRestore a computer and check the status
Get-ComputerRestorePoint
Restore-Computer -RestorePoint 255
Get-ComputerRestorePoint -LastStatusIdentifyIts page in the reference: Restore-Computer.
Parameters
-RestorePointSpecifies the sequence number of the restore point. To find the sequence number, use the
Get-ComputerRestorePoint cmdlet. This parameter is required.-ConfirmPrompts you for confirmation before running the cmdlet.-WhatIfShows what would happen if the cmdlet runs. The cmdlet is not run.