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.

StaticServerGroup - removeServerFromServerGroupByName


StaticServerGroup - removeServerFromServerGroupByName

Description :

This command removes a server from a server group.

Return type : void

Command Input :

Variable Name

Variable Type

Description

groupName

String

Path of the server group.

serverName

String

Name of the server.

Example

The following example shows how to remove a server from a server group.

Script


SERVER_GROUP="/parent/group1"

SERVER_NAME="server1"

StaticServerGroup removeServerFromServerGroupByName  $SERVER_GROUP $SERVER_NAME



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.7