Get_password_info

Use this vmcli command to view the status of guest credentials that are set for the managed datacenters.

Syntax

The vmcli -f get_password_info command uses this syntax:
vmcli -f get_password_info -type VMGuest
Linux operating systemsYou must issue the vmcli -f get_password_info command as tdpvmware user, and not as root.

Parameters

-type VMGuest
This required parameter identifies that the password information is returned for a guest VM. The username value (shown in the #CHILD statement) of the command output confirms that the password is set for that username. The datacentername value (shown in the #PARENT statement) of the command output identifies the associated datacenter for which the password is set.

Example

Windows operating systemsThis example shows the status of the managed datacenters that are associated with the VM guest:
vmcli -f get_password_info  -type VMGuest
#TASK 0 get_password_info 20130129162344670
#RUN 0 20130129162344685
#LANG en_US
#PARAM BACKEND=TSM
#PARAM OPERATION_TYPE 4
#PHASE PREPARE
#PARAM BACKUP_TYPE=0
#PARAM TSM_SERVER_NAME=
#PARAM TSM_SERVER_PORT=
#PARAM TSMCLI_NODE_NAME=
#PARAM VCENTER_NODE_NAME=
#PARAM DATACENTER_NODE_NAME=
#PARAM OFFLOAD_HOST_NAME=
#PARAM PASSWORD_TYPE=VMGUEST
#PARAM TSM_OPTFILE=C:\Users\ADMINI~1\AppData\Local\Temp\2\T4V3B15.tmp
#PARAM INPUT_FILE=
#PARAM TRACEFILE=
#PARAM TRACEFLAGS=
#CHILD username:<mydomain\myuser>
#PARENT datacentername:DataCenter1
#CHILD username:<mydomain\myuser>
#PARENT datacentername:DataCenter2
#CHILD username:<mydomain\myuser>
#PARENT datacentername:DataCenter3
#PARAM STATUS=success
#END RUN 0 2013012916234513
#END TASK 0
#INFO FMM16014I The return code is 0.
#END