PowerTip: Create Restore Point with PowerShell

PowerTip: Create Restore Point with PowerShell

  • Comments 3
  • Likes

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'

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • 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)?

  • there was following solution in greg zakharov's twitter:[code][void]([wmiclass]'\\.\root\default:SystemRestore').CreateRestorePoint('Description', 7, 100)[/code]but now his page is not available

  • Get-Help Checkpoint-Computer -Online - It's available for version 3.0 and 4.0.