Skip to content

CMS_AddUnitToBusinessUnit

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

CMS_AddUnitToBusinessUnit(sBusinessUnitName) as Boolean

BusinessUnit name

Boolean, TRUE if function completed successfully.

If bStatus Then bStatus = CMS_AddUnitToBusinessUnit("CapaInstaller")

Scripting Guidelines

CMS_RemoveComputerFromDepartmentGroup Constants Package Property Variables Business Unit support