August 10, 2017

How to Get VM Snapshot details to a Table - easy way

Get VM Snapshot details to a Table - easy way

Get-Cluster TEST CLUSTER | Get-VM | Get-Snapshot | Format-Table -Property vm,name,sizeGB,created

 To get a list of all VM Snapshots for VMs managed by vCenter you can type the following command:
get-vm | get-snapshot | format-list
The command above will give you the following properties:
Description
Created
Quiesced
PowerState
VM
VMId
Parent
ParentSnapshotId
ParentSnapshot
Children
SizeMB
IsCurrent
IsReplaySupported
ExtensionData
Id
Name
Uid

No comments:

Post a Comment