Creates a system restore point on the local computer. (Checkpoint-Computer)
# NAME
Checkpoint-Computer
# SYNOPSIS
Creates a system restore point on the local computer.
# SYNTAX
Checkpoint-Computer [-Description] <string> [[-RestorePointType] <string>] [<CommonParameters>]
# DESCRIPTION
The Checkpoint-Computer cmdlet creates a system restore point on the local computer. This cmdlet runs only on Windows Vista and Windows XP.
# PARAMETERS
-Description <string>
Specifies a descriptive name for the restore point. This parameter is required.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-RestorePointType <string>
Specifies the type of restore point. The default is APPLICATION_INSTALL.
Valid values are APPLICATION_INSTALL, APPLICATION_UNINSTALL, DEVICE_DRIVER_INSTALL, MODIFY_SETTINGS, and CANCELLED_OPERATION.
Required? false
Position? 2
Default value APPLICATION_INSTALL
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
# INPUTS
None
You cannot pipe objects to Checkpoint-Computer.
# OUTPUTS
None
This cmdlet does not generate any output.
# NOTES
This cmdlet uses the CreateRestorePoint method of the SystemRestore class with a BEGIN_SYSTEM_CHANGE event.
# EXAMPLE 1
C:\PS>checkpoint-computer -description "Install MyApp"
# Description
-----------
This command creates a system restore point called "Install MyApp". It uses the default APPLICATION_INSTALL restore point type.
# EXAMPLE 2
C:\PS>checkpoint-computer -description "ChangeNetSettings" -RestorePointType MODIFY_SETTINGS
# Description
-----------
This command creates a MODIFY_SETTINGS system restore point called "ChangeNetSettings".
RELATED LINKS
Online version: http://go.microsoft.com/fwlink/?LinkID=135197
Add-Computer
Remove-Computer
Restart-Computer
Restore-Computer
Stop-Computer
Test-Connection
C:\Windows>powershell get-help Get-ComputerRestorePoint -full
ColorConsole [Version 1.7.1000] PowerShell 2.0-Export
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2014 Microsoft Corporation.