# Get OS images

> Returns a list of OS images for an OS point.

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

## Description

Gets a list of OS Images.

## Syntax

GetOSImages(Byval OSPointID as Integer) as ArrayList

## Parameters

***OSPointID (Integer)***

OS Point ID

## Return value

The function returns an array of OS images. 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/).

- Image.ID
- Image.Name
- Image.Description
- Image.Filename
- Image.GUID
- Image.ImageFile
- Image.LocalFile
- Image.OS.Name

## Example

**VBScript**

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

## Related functions

The OS Point ID can be retrieved with the function [Get OS points](/capainstaller/sdk-capainstaller-software-development-kit-functions/os-deployment-functions/get-os-points/).
