You attempt to query the virtual hardware version of a virtual machine using this command from within the guest operating system:
/usr/sbin/vmware-checkvm -h
The output of the command returns a value that does not match the actual virtual hardware version that you see in the virtual machines Summary tab via the vSphere Client.
For example, the output may indicate that the virtual mchine's hardware is version 4, whereas the Summary tab indicates that it is version 7.
The print virtual machine hardware version (-h option) from the VMware Tools checkvm utility does not report the same value that is found in the Summary tab of the virtual machine or in the virtualHW.version line of the virtual machine's .vmx file and therefore should not be relied upon to determine what version of virtual hardware is in use.
Resolution
To verify the virtual machine's virtual hardware version, use the Summary tab of the virtual machine or the virtualHW.version line of the virtual machine's .vmx file.