CMS_RemoveComputerFromCalendarGroup
Description
Section titled “Description”Removes a specified computer unit from a calendar group
For Business Unit support click Business Unit support
Syntax
Section titled “Syntax”CMS_RemoveComputerFromCalendarGroup(sUnit as String, sGroup as String) as Boolean[bool] CMS_RemoveComputerFromCalendarGroup -group <string>Parameters
Section titled “Parameters”sUnit (String)
Section titled “sUnit (String)”Unit name
sGroup (String)
Section titled “sGroup (String)”Group name
Return value
Section titled “Return value”Boolean, TRUE if function completed successfully.
Boolean, TRUE if function completed successfully.
Example
Section titled “Example”If bStatus Then bStatus = CMS_RemoveComputerFromCalendarGroup(gsUnitName, "CapaInstaller")if (CMS_RemoveComputerToCalendarGroup -group 'calendar1') { $cs.Job_WriteLog("Removed", "Computer removed from calendar group: 'calendar1'")}Related functions
Section titled “Related functions”CMS_AddComputerToCalendarGroup Constants Package Property Variables Business Unit support