CMS_RemoveComputerFromDepartmentGroup

Description

Removes a specified computer from a department group

For Business Unit support click here


Syntax

CMS_RemoveComputerFromDepartmentGroup(sUnit, sGroup) As Boolean


Parameters

sUnit (String)

Unit name

sGroup (String)

Group name


Example

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

Scripting Guidelines


Related functions

CMS_AddComputerToDepartmentGroup