Delete unit by UUID
Description
Section titled “Description”Deletes a unit by UUID.
The Windows user who runs the script needs administrator rights for units on the Management Point that the unit belongs to.
Syntax
Section titled “Syntax”DeleteUnitByUUID(Byval UUID as String) as Boolean
Parameters
Section titled “Parameters”UUID (String)
The UUID of the unit
Return value
Section titled “Return value”Boolean. The function returns True if successful, otherwise false.
Example
Section titled “Example”Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetInstanceManagementPoint("1")Wscript.echo oCMS.DeleteUnitByUUID("4C4C4544-004E-4210-8038-C8C04F31324A")