Remove unit from reinstall
Description
Section titled “Description”Removes a Unit from reinstall. Does NOT remove the unit from any reinstall groups.
Syntax
Section titled “Syntax”RemoveUnitFromReinstall(Byval ComputerName as String) as Boolean
Parameters
Section titled “Parameters”ComputerName (String)
The name of the computer
Return Value
Section titled “Return Value”Boolean. The function returns True if successful, otherwise false.
Example
Section titled “Example”VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")wscript.echo oCMS.SetDefaultManagementPoint("1")wscript.echo oCMS.RemoveUnitFromReinstall("Klient")