Virtualization - listVirtualEntitiesByEntityManagerServerNameAndEntityType

Virtualization - listVirtualEntitiesByEntityManagerServerNameAndEntityType

Description :

This command lists all the virtual entities that are on a given server, and are of the type specified by EntityType. This command is deprecated. To list virtual entities, use the listVirtualEntitiesByEntityManagerServerNameAndEntityType command.

To get a list of valid EntityType values, use the listVirtualEntityTypes command.

Return type : String

Command Input :

Variable Name

Variable Type

Description

Servername

String

Name of a server that is being managed by BMC Server Automation.

EntityType

String

The type of virtual center entity you want to list.

Example

The following example lists all the VMware virtual machines on a given server.

Script


SERVER1_NAME="server1" 

blcli Virtualization listVirtualEntitiesByEntityManagerServerNameAndEntityType $SERVER1_NAME VMwareVirtualMachine 

Name::Entity Key 

VM1::1,VMwareVirtualMachine,vm-179 

VM2::1,VMwareVirtualMachine,vm-25 



Was this page helpful? Yes No Submitting... Thank you

Comments