# Get WSUS Groups

> Gets a list of WSUS Groups for a specified WSUS point.

Source: https://docs.capaone.com/capainstaller/sdk-capainstaller-software-development-kit-functions/wsus-functions/get-wsus-groups/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

## 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](/capainstaller/sdk-capainstaller-software-development-kit-functions/container-functions/set-splitter/). 

- group.ID
- group.Name
- group.GUID

## Example

**VBScript**

```vb
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 
```
