Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Adds a specified computer to the specified department group

It will be unlinked from current department group (if any), since a computer only can be in one department group

For Business Unit support click here


Syntax

:vb: CMS_AddComputerToDepartmentGroup(sUnit, sGroup) as Boolean


Parameters

sUnit (String)

Unit name

sGroup (String)

Group name


Example

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

Scripting Guidelines


Related functions

CMS_RemoveComputerFromDepartmentGroup

  • No labels