CMS_AddComputerToPowerSchemeGroup

Description

Adds the specified computer to the specified power scheme group

 

Syntax

CMS_AddComputerToPowerSchemeGroup(sUnit, sGroup) as Boolean

 

Parameters

sUnit (String)

Unit name

sGroup (String)

Group name

 

Example

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

Scripting Guidelines

 

Related functions

CMS_RemoveComputerFromPowerSchemeGroup