PowerTip: Use PowerShell to List Restore Points


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

Comments (3)

  1. tommymaynard says:

    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!

  2. Fduch says:

    Hello, Scripting Guy.

    I’m having troubles using PowerShell to copy registry subtrees as some keys contain slashes (for example “HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio11.0LanguagesLanguage ServicesC/C++”)

    PS> Copy-Item -recurse HKCU:SoftwareMicrosoftVisualStudio11.0Languages HKCU:Test1
    Copy-Item : The registry key at the specified path does not exist.
    At line:1 char:1
    + Copy-Item -recurse HKCU:SoftwareMicrosoftVisualStudio11.0Languages HKCU:So …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (HKEY_CURRENT_US…odeExpansionsC: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:SoftwareMicrosoftVisualStudio11.0Languages HKCU:So …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (HKEY_CURRENT_US…uage ServicesC:String) [Copy-Item], ArgumentExcepti
    on
    + FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.CopyItemCommand

    How can I copy the subtree successfully?

Skip to main content