| external help file | Microsoft.PowerShell.Commands.Management.dll-Help.xml |
|---|---|
| Locale | en-US |
| Module Name | Microsoft.PowerShell.Management |
| ms.date | 07/12/2024 |
| online version | https://learn.microsoft.com/powershell/module/microsoft.powershell.management/checkpoint-computer?view=powershell-5.1&WT.mc_id=ps-gethelp |
| schema | 2.0.0 |
| title | Checkpoint-Computer |
Creates a system restore point on the local computer.
Checkpoint-Computer [-Description] <String> [[-RestorePointType] <String>] [<CommonParameters>]
The Checkpoint-Computer cmdlet creates a system restore point on the local computer.
System restore points and the Checkpoint-Computer cmdlet are supported only on client operating
systems, such as Windows 10 or Windows 11. Checkpoint-Computer cannot create more than one
checkpoint each day.
Checkpoint-Computer -Description "Install MyApp"This command creates a system restore point called Install MyApp. It uses the default
APPLICATION_INSTALL restore point type.
Checkpoint-Computer -Description "ChangeNetSettings" -RestorePointType MODIFY_SETTINGSThis command creates a MODIFY_SETTINGS system restore point called "ChangeNetSettings".
Specifies a descriptive name for the restore point. This parameter is required.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the type of restore point. The default is APPLICATION_INSTALL.
The acceptable values for this parameter are:
APPLICATION_INSTALLAPPLICATION_UNINSTALLDEVICE_DRIVER_INSTALLMODIFY_SETTINGSCANCELLED_OPERATION
The cmdlet accepts CANCELLED_OPERATION but this type of restore point operation is no longer
supported. For more information about these types, see the
Restore Point Description Text documentation.
Type: System.String
Parameter Sets: (All)
Aliases: RPT
Accepted values: APPLICATION_INSTALL, APPLICATION_UNINSTALL, DEVICE_DRIVER_INSTALL, MODIFY_SETTINGS, CANCELLED_OPERATION
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
You cannot pipe objects to Checkpoint-Computer.
This cmdlet does not generate any output.
-
This cmdlet uses the CreateRestorePoint method of the SystemRestore class with a BEGIN_SYSTEM_CHANGE event.
-
Beginning in Windows 8,
Checkpoint-Computercannot create more than one system restore point each day. If you try to create a new restore point before the 24-hour period has elapsed, Windows PowerShell generates the following error:"A new system restore point cannot be created because one has already been created within the past 24 hours. Please try again later."