VMware Cloud Community
d1st4nt
Contributor
Contributor

Any way, utilizing Vsphere CLI, to verify md5 checksum values of files within a datastore?

I was hoping vifs.pl would be my solution but the Directory List function contains no more information in the output than the filenames themselves.

Seeing as vSphere Client never confirms an upload of a file, I have no way of knowing if the source iso's I'm wanting to copy over are there in full and useable.

Any help or insight would be greatly appreciated!

Thanks.

0 Kudos
1 Reply
lamw
Community Manager
Community Manager

vifs.pl just provides a very basic view, you can retrieve additional information, take a look at this script:

Regarding verifying an upload and md5 or any type of verification, I'm not aware of any. The method it's probably is using is CopyDatastoreFile_Task which will just let you know if it uploaded successfully or if it faults.

=========================================================================

William Lam

VMware vExpert 2009

VMware ESX/ESXi scripts and resources at:

VMware Code Central - Scripts/Sample code for Developers and Administrators

VMware Developer Comuunity

Twitter: @lamw

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos