I found on VMware website the following
**************
To help prevent sensitive data in VMDK files from being read off the physical disk after it is deleted, write zeros to the entire contents of a VMDK file ("zero out") before you delete it, overwriting the sensitive data. When you zero out a file, it is more difficult for someone to reconstruct the contents.
1 - Shut down or stop the virtual machine.
2 - On the ESXi host, locate the VMDK file by running vmware-cmd -l to list all virtual machine configuration files.
By default, the virtual disk file has the same name as the VMX file but a .vmdk extension.
3 - On the ESXi host, run the command vmkfstools --writezeroes filename.vmdk.
Here, filename.vmdk is the name of the VMDK file.
4 - Delete the file from the datastore.
*************
I tried the command on esxi host (5.5)
# vmware -cmd -l
vmware: invalid option -- 'c'
vmware -v, --version Get version information for vmkernel
-l, --level Get release level information
-h, --help Print this menu
I want to list all virtual machine configuration files - I am either running the wrong command - very limited with switches. What am I doing wrong?