Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Disable-ComputerRestore

Disable-ComputerRestore - Powershell 2.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 »

Disable-ComputerRestore

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

Syntax
Disable-ComputerRestore [-Drive] <string[]> [-Confirm] [-WhatIf] [<CommonParameters>]

Description
The Disable-ComputerRestore cmdlet turns off the System Restore feature on one or more file system drives. As a res
    ult, attempts to restore the computer do not affect the specified drive.
    
    To disable System Restore on any drive, it must be disabled on the system drive, either first or concurrently. 
    
    To re-enable System Restore, use the Enable-ComputerRestore cmdlet. To find the state of System Restore for each dr
    ive, use Rstrui.exe.