Description
Get a list of management servers.
Syntax
GetManagementServers() as ArrayList
Parameters
None.
Return value
The function returns an array of management servers. Each management server (cms) in the array is a joined line with the character defined with Set splitter.
- cms.Name
- cms.Path
- cms.Version
- cms.Drive
- cms.Server
- cms.Share
- cms.IsParentShare
- cms.GUID
- cms.ID
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") Set aCms = CreateObject("System.Collections.ArrayList") wscript.echo oCMS.SetDefaultManagementPoint("1") Set aCms = oCMS.GetManagementServers() for each server in aCms wscript.echo server next