PowerTip: Create Restore Point with PowerShell


Summary: Use Windows PowerShell to create a system restore point on your computer.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create a system restore point on my computer before I perform an operation that might corrupt it?

Hey, Scripting Guy! AnswerOpen the Windows PowerShell prompt with Admin rights, call the Checkpoint-Computer cmdlet, and pass a description, for example:

Checkpoint-Computer -Description ‘test’

Comments (3)

  1. Chen V says:

    Get-Help Checkpoint-Computer -Online – It’s available for version 3.0 and 4.0.

  2. Mad Tom Vane says:

    Is this just for version 4.0? How would I find that out in the future for different cmdlets? I know I can start PS in a different version but why doesn't it show in Get-Help (or does it)?

  3. marc l. says:

    there was following solution in greg zakharov's twitter:

    [void]([wmiclass]'\.rootdefault:SystemRestore').CreateRestorePoint('Description', 7, 100)

    but now his page is not available

Skip to main content