CMS_AddComputerToReinstallGroup

Description

Adds the specified computer the specified reinstall group

For Business Unit support click here

 

Syntax

CMS_AddComputerToReinstallGroup(sUnit, sGroup) as Boolean

 

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

 

Example 

VBScript
If bStatus Then bStatus = CMS_AddComputerToReinstallGroup(gsUnitName, "CapaInstaller")

Scripting Guidelines

 

Related functions

CMS_RemoveComputerFromReinstallGroup