CMS_RemoveComputerFromPowerSchemeGroup
Description
Removes a specified computer from a power scheme group
Syntax
CMS_RemoveComputerFromPowerSchemeGroup(sUnit, sGroup) As Boolean
[bool]CMS_RemoveComputerFromPowerSchemeGroup -group <string>
Parameters
sUnit (String)
Unit name
sGroup (String)
Group name
Return value
Boolean, TRUE if function completed successfully.Â
Boolean, TRUE if function completed successfully.
Example
VBScript
 If bStatus Then bStatus = CMS_RemoveComputerFromPowerSchemeGroup(gsUnitName, "CapaInstaller")
PowerShell
 if (CMS_RemoveComputerFromPowerSchemeGroup -group 'save_energy') {
$cs.Job_WriteLog("Removed", "Computer removed from power scheme group: 'save_energy'")
}