Creates a system restore point on the local computer. (Checkpoint-Computer)
NAMECheckpoint-ComputerSYNOPSISCreates a system restore point on the local computer.SYNTAXCheckpoint-Computer [-Description] <string> [[-RestorePointType] <string>] [<CommonParameters>]DESCRIPTIONThe 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".INPUTSNone You cannot pipe objects to Checkpoint-Computer.OUTPUTSNone This cmdlet does not generate any output.NOTESThis cmdlet uses the CreateRestorePoint method of the SystemRestore class with a BEGIN_SYSTEM_CHANGE event.Examples
EXAMPLE 1C:\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 2C:\PS>checkpoint-computer -description "ChangeNetSettings" -RestorePointType MODIFY_SETTINGSDescription----------- 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
Microsoft Windows [Version 10.0.19045.3693]
Copyright (c) 2023 Microsoft Corporation.
ColorConsole [Version 3.7.1000] PowerShell 2.0-Export