CMS_RemoveComputerFromPowerSchemeGroup
Description
Section titled “Description”Removes a specified computer from a power scheme group
Syntax
Section titled “Syntax”CMS_RemoveComputerFromPowerSchemeGroup(sUnit, sGroup) As Boolean[bool] CMS_RemoveComputerFromPowerSchemeGroup -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.
Example
Section titled “Example”If bStatus Then bStatus = CMS_RemoveComputerFromPowerSchemeGroup(gsUnitName, "CapaInstaller")if (CMS_RemoveComputerFromPowerSchemeGroup -group 'save_energy') { $cs.Job_WriteLog("Removed", "Computer removed from power scheme group: 'save_energy'")}Related functions
Section titled “Related functions”CMS_AddComputerToPowerSchemeGroup Constants Package Property Variables Business Unit support