Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Enable-ComputerRestore

Enable-ComputerRestore - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »


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

Enable-ComputerRestore [-Drive] <String[]> [-Confirm] [-WhatIf] [<CommonParameters>]

The Enable-ComputerRestore cmdlet turns on the System Restore feature on one or more file system drives. As a result, y
ou 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-Comp
uterRestore cmdlet. To enable (or re-enable) System Restore on any drive, it must be enabled on the system drive, eithe
r 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.