VMware Cloud Community
jsobejana
Contributor
Contributor

CLI Command to Get list of VM Snapshots with Name and Size

Get-vm | get-snapshot | select-object vm ,name, create, size but size column is blank.. Any other idea?

jsobejana_0-1611686593523.png

 

Labels (3)
0 Kudos
2 Replies
scott28tt
VMware Employee
VMware Employee

@jsobejana 

Moderator: Moved to PowerCLI Discussions


-------------------------------------------------------------------------------------------------------------------------------------------------------------

Although I am a VMware employee I contribute to VMware Communities voluntarily (ie. not in any official capacity)
VMware Training & Certification blog
0 Kudos
LucD
Leadership
Leadership

Use SizeGB or SizeMB instead of Size.

Get-VM | Get-Snapshot | Select-Object vm ,name, created, sizegb

 


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos