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