Checkpoint-Computer

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.

System restore points and the Checkpoint-Computer cmdlet are supported only on client operating systems.
Checkpoint-Computer will not create more than one checkpoint each day.

The RestorePointType is purely informational, recommended descriptions:

  APPLICATION_INSTALL    Installed AppName
  APPLICATION_UNINSTALL  Removed AppName
  DEVICE_DRIVER_INSTALL  Installed DriverName
  MODIFY_SETTINGS        Configured AppName

Installers, such as Windows Installer and InstallShield, use these conventions for the description text:
The product name follows the verb; for example: Installed AppName.
The product name can be used alone (AppName) or the product name and the company name may both be used (MyCompany AppName).

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.
Enable-ComputerRestore - Enable System Restore on a drive.
Disable-ComputerRestore - Disable System Restore on a drive.


 
Copyright © 1999-2024 SS64.com
Some rights reserved