Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

Description

Adds the computer to the specified reinstall group

For Business Unit support click here


Syntax

(blue star) CMS_AddComputerToReinstallGroup(sUnit, sGroup) as Boolean

(blue star) [bool]CMS_AddComputerToReinstallGroup -group <string>


Parameters

sUnit (String)

Unit name

sGroup (String)

Group name


Example 

(blue star) VBScript
If bStatus Then bStatus = CMS_AddComputerToReinstallGroup(gsUnitName, "CapaInstaller")
(blue star) Powershell
if (CMS_AddComputerToReinstallGroup -group 'reinst') {
  $cs.Job_WriteLog("Added", "Computer added to reinstall group: 'reinst'")
} 

 

Scripting Guidelines


Related functions

CMS_RemoveComputerFromReinstallGroup

  • No labels