PowerShell Logo Small

Enable-ComputerRestore



This is the built-in help made by Microsoft for the command 'Enable-ComputerRestore', in PowerShell version 2 - as retrieved from Windows version 'Microsoft® Windows Vista™ Ultimate ' 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[]> [-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 ena
ble (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 Syste
m Restore for each drive, use Rstrui.exe.



<

RELATED LINKS

Online version: http://go.microsoft.com/fwlink/?LinkID=135209
Disable-ComputerRestore
Get-ComputerRestorePoint
Restore-Computer
Restart-Computer

REMARKS

<

Examples


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

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



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








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

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



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