This is an old revision of the document!
Connect to VMware ESXi or vCenter
Connect-VIServer -Server 10.240.240.240 -User root -Password 'str0mtelecom'
Create Snapshot
Get-VM deb5-powecli | New-Snapshot -Name "Demo" -Description "Sample snapshot"
List All Snapshots to VM
Get-VM deb5-powecli | Get-Snapshot
Remove all Snapshots from VM
Get-VM deb5-powecli | Get-Snapshot | Remove-Snapshot -confirm:$false
Revert to Snapshot
Set-VM -VM deb5-powecli -Snapshot Demo -confirm:$false