vmconnect.exe -C /edit /credential | /user UserName /password Password | -G -C /edit /credential | /user UserName /password ...

vmconnect.exe [  [-C ]] [/edit] [/credential  | /user [UserName] /password [Password]] | [ [] -G  [-C ]] [/edit] [/credential  | /user [UserName] /password [Password]] | [-?]
    
ServerName -- Specifies the remote computer where the virtual machine is located.
           
VMName -- Specifies the name of the virtual machine to which you want to connect.

VMGUID -- Specifies the guid of the virtual machine to which you want to connect.    

Count -- VMConnect instance count, use this if launching multiple instances simultaneously.

Edit -- Opens the connection settings.

CredentialName - Specifies the name of the credential to use in the credential store. The /credentials option cannot be combined with the /user and /password options.

UserName - Specifies the user name under which to connect to the server. The /user option cannot be combined with the /credential option.

Password - Specifies the password of the user specified through the /user option. The /password option cannot be combined with the /credential option.