Get WSUS Groups
Description
Gets a list of WSUS Groups.
Syntax
GetWSUSGroups(ByVal pointID As Integer) As ArrayList
Parameters
PointID as integer. This is the ID of the WSUS point
Return value
The function returns an array of WSUS Groups. Each element in the array is a joined line with the character defined with Set splitter.
- group.ID
- group.Name
- group.GUID
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") Set aUnit = CreateObject("System.Collections.ArrayList") Set aUnit = oCMS.GetWSUSGroups(1) for each item in aUnit wscript.echo item next