# Get metering groups

> Gets a list of metering groups.

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

## Description

Gets a list of metering groups.

## Syntax

GetMeteringGroups() as ArrayList

## Parameters

None

## Return value

The function returns an array of Metering Group items. Each element (grp) 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/).

- grp.Name
- grp.Version
- grp.Vendor
- grp.AppCode
- grp.Description
- grp.MeteringModule
- grp.GUID
- grp.ID

## Example

**VBScript**

```vb
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetInstanceManagementPoint("1") 
Set aUnit =  oCMS.GetMeteringGroups() 
for each item in aUnit 
  wscript.echo item 
next 
```
