CmdID

CmdID / PowerShell / Cmdlets / Restore

Restore-Computer

Starts a system restore on the local computer. PowerShell reference

From the PowerShell reference 3 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

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 253Identify

Restore 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"):Identify

Restore a computer and check the status

Get-ComputerRestorePoint Restore-Computer -RestorePoint 255 Get-ComputerRestorePoint -LastStatusIdentify

Its page in the reference: Restore-Computer.

Parameters

3 in the PowerShell reference
-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.