Create a system restore point on the local computer.
Syntax Checkpoint-Computer [-Description] string [[-RestorePointType] string] [CommonParameters] Key -Description string A descriptive name for the restore point. [required] -RestorePointType string The type of restore point: APPLICATION_INSTALL, APPLICATION_UNINSTALL, DEVICE_DRIVER_INSTALL, MODIFY_SETTINGS, or CANCELLED_OPERATION. CommonParameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer -OutVariable.
System restore points and the Checkpoint-Computer cmdlet are supported only on client operating systems, such as Windows 10. Beginning in Windows 8, Checkpoint-Computer cannot create more than one checkpoint each day.
Examples
Create a system restore point called "SS64". Use the default APPLICATION_INSTALL restore point type:
PS C:\> checkpoint-computer -description "SS64"
Create a MODIFY_SETTINGS system restore point called "OntheDomain":
PS C:\> checkpoint-computer -description "OntheDomain" -RestorePointType MODIFY_SETTINGS
“If you're not making mistakes, then you're not doing anything. I'm positive that a doer makes mistakes” ~ John Wooden
Related PowerShell Cmdlets:
Add-Computer - Add a computer to the domain