Virtualization - getVirtualGuestKeyByServerName
Virtualization - getVirtualGuestKeyByServerName
Description :
This command returns the virtual guest key for a virtual guest. This virtual guest key can contain spaces. Therefore, you must enclose it in double quotes when you use it in subsequent commands.
Return type : String
Command Input :
Variable Name | Variable Type | Description |
---|---|---|
virtualMachineName | String | Server name of the virtual guest. |
Example
The following example gets the virtual guest key for a particular virtual guest in the system.
Script
VIRTUAL_GUEST1_NAME="vm-w23-mar111"
blcli Virtualization getVirtualGuestKeyByServerName $VIRTUAL_GUEST1_NAME
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*