CMS_AddComputerToCalendarGroup

Description

Adds the specified computer the specified calendar group

For Business Unit support click here

 

Syntax

CMS_AddComputerToCalendarGroup(sUnit, sGroup) as Boolean

 

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

 

Example 

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

Scripting Guidelines

 

Related functions

CMS_RemoveComputerFromCalendarGroup