/
Create group
Create group
Description
Creates a CapaInstaller group.
Syntax
CreateGroup(Byval GroupName as String, Byval GroupType as String, Byval UnitType as String) as Boolean
Parameters
GroupName (String)
The name of the group
GroupType (String)
The type of the group. Valid values are "Calendar", "Department" and "Static"
UnitType (String)
The type of the elements in the group. This can be either "Computer" or "User"
Return value
Boolean. Returns true if the group is created, otherwise false
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.CreateGroup("Jylland","Static","Computer")
, multiple selections available,
Related content
CMS_AddUnitToWSUSUnAssignedGroup
CMS_AddUnitToWSUSUnAssignedGroup
More like this
$cs.UsrMgr_AddUserToLocalGroup
$cs.UsrMgr_AddUserToLocalGroup
More like this
CMS_AddComputerToStaticGroup
CMS_AddComputerToStaticGroup
More like this
Business Unit support
Business Unit support
More like this
CapaOne AdminOnDemand
CapaOne AdminOnDemand
More like this
Security manager
Security manager
More like this