PowerShell Logo Small

Enable-ComputerRestore



This is the built-in help made by Microsoft for the command 'Enable-ComputerRestore', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Enables the System Restore feature on the specified file system drive.

SYNTAX


Enable-ComputerRestore [-Drive] <String[]> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
[-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Enable-ComputerRestore cmdlet turns on the System Restore feature on one or more file system drives. As a result, you can use tools, such as the Restore-Computer cmdlet,
to restore the computer to a previous state.


By default, System Restore is enabled on all eligible drives, but you can disable it, such as by using the Disable-ComputerRestore cmdlet. To enable (or re-enable) System
Restore on any drive, it must be enabled on the system drive, either first or concurrently. To find the state of System Restore for each drive, use Rstrui.exe.


System restore points and the ComputerRestore cmdlets are supported only on client operating systems, such as Windows 7, Windows Vista, and Windows XP.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=290487
Checkpoint-Computer
Disable-ComputerRestore
Get-ComputerRestorePoint
Restart-Computer
Restore-Computer

REMARKS

<

Examples


-------------------------- EXAMPLE 1 --------------------------

PS C:\>enable-computerrestore -drive "C:\"



This command enables System Restore on the C: drive of the local computer.










-------------------------- EXAMPLE 2 --------------------------

PS C:\>enable-computerrestore -drive "C:\", "D:\"



This command enables System Restore on the C: and D: drives of the local computer.