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

Version 1 Next »

Description

Adds the unit on which the script is executed to the specified Business Unit. UserJobs add user and ComputerJobs add the computer


Syntax

CMS_AddUnitToBusinessUnit(sBusinessUnitName) as Boolean

 

Parameters

sBusinessUnitName (String)

BusinessUnit name

 

Example

VBScript
If bStatus Then bStatus = CMS_AddUnitToBusinessUnit("CapaInstaller")

Scripting Guidelines

 

Related functions

CMS_RemoveComputerFromDepartmentGroup

  • No labels