Enable-ComputerRestore - Powershell 2.0 CmdLet
Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.
More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.
Enable-ComputerRestore
Short description Enables the System Restore feature on the specified file system drive. Syntax Enable-ComputerRestore [-Drive] <string[]> [-Confirm] [-WhatIf] [<CommonParameters>] Description The Enable-ComputerRestore cmdlet turns on the System Restore feature on one or more file system drives. As a resul t, 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 driv e, either first or concurrently. To find the state of System Restore for each drive, use Rstrui.exe.