Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

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*

BMC Server Automation Command Line Interface 8.5