Skip to content

Remove unit from reinstall

Removes a Unit from reinstall. Does NOT remove the unit from any reinstall groups.

RemoveUnitFromReinstall(Byval ComputerName as String) as Boolean

ComputerName (String)

The name of the computer

Boolean. The function returns True if successful, otherwise false.

VBScript

Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
wscript.echo oCMS.RemoveUnitFromReinstall("Klient")