You would need to submit a support ticket with details (iSCSI or NFS) as to how this script would look like for VMware.