Server - listAllServers

Server - listAllServers

Description :

This command lists all servers available to the current role.

Return type : String

Command Input : no input

Example

The follow example shows how to do something to each server available to your current role:

Script





SERVER_LIST=`blcli Server listAllServers` 

for serverName in $SERVER_LIST 

do 

#perform some task with a server name such as... 

echo "Properties for server $serverName" 

blcli Server printAllProperties $serverName 

done 



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

Comments