I have a virtual machine named A in VMWare ESX Server, and a virtual machine named B in my physical machine which named C.
I login A, and I need to do Snapshot Conversion on B, how can I do it? Could you pls. share your experience with me or give me some instructions on this case? A and B are in the same domain.
If VM A is running in VMware Workstation, VMware Player or VMware Server, you are not able to use PowerCLI to manage that VM. With PowerCLI you can only connect to a vCenter Server or an ESX(i) server.
If VM A is running on a ESX(i) server and has a snapshot called "Snapshot 1", you can revert to this snapshot with the following PowerCLI code:
$Snapshot = Get-Snapshot -VM "A" -Name "Snapshot 1"
Set-VM -VM "A" -Snapshot $Snapshot -Confirm:$false