Get-VM foo* | %{ $VM=$_; $Snapshot= $VM | Get-Snapshot; if ($Snapshot -eq $null) { Write-Host $VM.Name } }
Advertisements
Get-VM foo* | %{ $VM=$_; $Snapshot= $VM | Get-Snapshot; if ($Snapshot -eq $null) { Write-Host $VM.Name } }
More about Snapshots
Snapshots are not backups, but backup software will leverage snapshots to take backups of the VM.
Snapshot Best Practices
If you plan to take snapshots
Difference between Clone and Snapshot
Clone is another copy of the virtual machine, where as a snapshot is a capture of point time state of the virtual machine. If you delete the virtual machine, the snapshot will also be deleted along with the it, however the clone will remain intact because its a separate copy.
What is a Snapshot?
In vSphere, snapshots are based on “COW“
COW ==> Copy on Write Snapshots
In COW, all new writes always go to the delta disk.