PowerTip: Use PowerShell to List Restore Points

PowerTip: Use PowerShell to List Restore Points

  • Comments 3
  • Likes

Summary: Use Windows PowerShell to list computer restore points.

Hey, Scripting Guy! Question How can I use Windows PowerShell to list computer restore points on your desktop?

Hey, Scripting Guy! Answer Open Windows PowerShell with Admin rights and use the Get-ComputerRestorePoint cmdlet:

Get-ComputerRestorePoint

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Hello, Scripting Guy. I'm having troubles using PowerShell to copy registry subtrees as some keys contain slashes (for example "HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Languages\Language Services\C/C++") PS> Copy-Item -recurse HKCU:\Software\Microsoft\VisualStudio\11.0\Languages HKCU:\Test1 Copy-Item : The registry key at the specified path does not exist. At line:1 char:1 + Copy-Item -recurse HKCU:\Software\Microsoft\VisualStudio\11.0\Languages HKCU:\So ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (HKEY_CURRENT_US...odeExpansions\C:String) [Copy-Item], ArgumentExcepti on + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.CopyItemCommand Copy-Item : The registry key at the specified path does not exist. At line:1 char:1 + Copy-Item -recurse HKCU:\Software\Microsoft\VisualStudio\11.0\Languages HKCU:\So ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (HKEY_CURRENT_US...uage Services\C:String) [Copy-Item], ArgumentExcepti on + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.CopyItemCommand How can I copy the subtree successfully?

  • This cmdlet makes perfect sense, unlike the cmdlet used to create a restore point. The cmdlet to create a restore point is not New- or Add-ComputerRestorePoint, as it should be, it's CheckPoint-Computer. This should be changed; it is exact opposite of "...think, type, get." Let's lose the CheckPoint "verb." Who's wth me!

  • Looks like this PowerShell bug was not fixed since 2006 =(( https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=238838&SiteID=99