VMware Cloud Community
OlivierTremolie
Enthusiast
Enthusiast
Jump to solution

Get-Snapshot result problem

Hi all,

I've got a problem with a script. I'm using Get-Snapshot on vCenter but the result seems wrong.

The result of the command return 20501,03 Mb but on the LUN, the size is 3671040 + 17408

My second problem with the command is the snapshot location. If the snapshot isn't located on the VM directory (workingdir is used on the vmx file), the command return -1.

Does the command work well ?

Thank you,

Olivier

Olivier ############### If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

I can confirm that there are indeed some problems with the Get-Snapshot cmdlet.

Note that the datastore browser doesn't tell you the complete story either.

It doesn't show the -flat and -delta files that you see when display the files from the console or a SSH session.

____________

Blog: LucD notes

Twitter: lucd22


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

View solution in original post

0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

I can confirm that there are indeed some problems with the Get-Snapshot cmdlet.

Note that the datastore browser doesn't tell you the complete story either.

It doesn't show the -flat and -delta files that you see when display the files from the console or a SSH session.

____________

Blog: LucD notes

Twitter: lucd22


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

0 Kudos