Get management servers
Description
Section titled “Description”Get a list of the management servers linked to the current management point. Call Set instance management point first to select the management point.
Syntax
Section titled “Syntax”GetManagementServers() as ArrayList
Parameters
Section titled “Parameters”None.
Return value
Section titled “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
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")Set aCms = CreateObject("System.Collections.ArrayList")wscript.echo oCMS.SetInstanceManagementPoint("1")Set aCms = oCMS.GetManagementServers()for each server in aCms wscript.echo servernext