PowerShell 2.0: One Cmdlet at a Time 24 Get-ComputerRestorePoint
Continuing the series looking at new cmdlets available in PowerShell 2.0. This time we look at the Get-ComputerRestorePoint cmdlet.
What can I do with it?
List available System Restore points on the local machine.
Example:
List the available System Restore points on the current machine.
Get-ComputerRestorePoint
How could I have done this in PowerShell 1.0?
You could have used the Get-WMIObject cmdlet with the Root\Default namespace and the SystemRestore Class
Get-WMIObject -Namespace root\default -Class SystemRestore