This is the built-in help made by Microsoft for the command 'Disable-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.
Disables the System Restore feature on the specified file system drive.
Disable-ComputerRestore [-Drive] <String[]> [-InformationAction {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend}] [-InformationVariable [<System.String>]]
[-Confirm] [-WhatIf] [<CommonParameters>]
The Disable-ComputerRestore cmdlet turns off the System Restore feature on one or more file system drives. As a result, 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 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.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=290486
Checkpoint-Computer
Enable-ComputerRestore
Get-ComputerRestorePoint
Restart-Computer
Restore-Computer
<
-------------------------- EXAMPLE 1 --------------------------
PS C:\>disable-computerrestore -drive "C:\"
This command disables System Restore on the C: drive.
-------------------------- EXAMPLE 2 --------------------------
PS C:\>disable-computerrestore "C:\", "D:\"
This command disables System Restore on the C: and D: drives. The command uses the Drive parameter, but it the omits the optional parameter name.