Get WSUS Groups
Description
Section titled “Description”Gets a list of WSUS Groups.
Syntax
Section titled “Syntax”GetWSUSGroups(ByVal pointID As Integer) As ArrayList
Parameters
Section titled “Parameters”PointID as integer. This is the ID of the WSUS point
Return value
Section titled “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
Section titled “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 itemnext