You can use authentication flags in vmrun commands to provide information required to access a system.
For example, you can use an authentication flag to specify the local host type because vmrun commands apply to both VMware Workstation and VMware Fusion host types. You can also use authentication flags to provide the credentials required to access encrypted virtual machines or a guest operating system.
Authentication flags must appear before the command and command parameters.
The vmrun command supports the following authentication flags.
-vp
encryptedVirtualMachinePassword
The -T flag is optional. When you run vmrun commands with Fusion, fusion is the default. Use the -T flag for Fusion as follows.