CMS_RemoveComputerFromCalendarGroup

Description

Removes a specified computer unit from a calendar group

For Business Unit support click here

 

Syntax

CMS_RemoveComputerFromCalendarGroup(sUnit as String, sGroup as String) as Boolean

 

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

 

Return value

Boolean, TRUE if function completed successfully. 

 

Example 

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

Scripting Guidelines

 

Related functions

CMS_AddComputerToCalendarGroup