Skip to content

Exist uuid

Checks if a unit with the specified uuid exists.

ExistUUID(Byval Uuid as String) as Boolean

Uuid (String)

The uuid of the unit to check for in this format.: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Boolean. The function returns True if the the uuid if present in the database, otherwise false.

VBScript

 Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
Wscript.echo oCMS.ExistUUID("E3FBEC1E-32AC-4E51-AB9F-A644CD9F0A6B")