Skip to content

Get unit description

Gets the description for a unit.

GetUnitDescription(ByVal unitName As String, ByVal unitType As String) As String

UnitName (String)

The name or UUID of the unit.

UnitType (String)

Type of Unit

  • “Computer”
  • “User”

String. The function returns the description for the unit.

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetInstanceManagementPoint("1")
wscript.echo oCMS.GetUnitDescription("Klient", "Computer")