Skip to content

Get WSUS Groups

Gets a list of WSUS Groups.

GetWSUSGroups(ByVal pointID As Integer) As ArrayList

PointID as integer. This is the ID of the WSUS point

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

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