Get OS disk configurations

Description

Gets a list of OS Disk Configurations.


Syntax

GetOSDiskConfigration(ByVal OSPointID as Integer) as ArrayList


Parameters

OSPointID (Integer)

OS Point ID


Return value

The function returns an array of OS disk configurations. Each element in the array is a joined line with the character defined with Set splitter. 

  • DiskConfig.ID
  • DiskConfig.Name
  • DiskConfig.Comment
  • DiskConfig.GUID
  • DiskConfig.Laptop
  • DiskConfig.LeaveDisk
  • DiskConfig.WorkStation


Example 

VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") 
Set aUnit = CreateObject("System.Collections.ArrayList") 
wscript.echo oCMS.SetDefaultManagementPoint("1") 
Set aUnit =  oCMS.GetOSDiskConfiguration("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.Â