/
Set unit WSUS Group
Set unit WSUS Group
Description
Sets the WSUS Group for a unit
Syntax
SetUnitWSUSGroup(ByVal unitName As String, ByVal unitType As String, ByVal WSUSGroupName As String) As Boolean
Parameters
UnitName (String)
The name of the unit
UnitType (String)
Type of Unit
- "Computer"
- "User"
WSUSGroupName(String)
The name of the WSUS Group to link the unit to
Return Value
Boolean. The function returns True if successful, otherwise false.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.SetUnitWSUSGroup("Klient", "Computer", "WSUS Default Group")
, multiple selections available,
Related content
Set unit WSUS Group
Set unit WSUS Group
More like this
Set unit WSUS Group
Set unit WSUS Group
More like this
Get unit WSUS Group
Get unit WSUS Group
More like this
Get unit WSUS Group
Get unit WSUS Group
More like this
Get unit WSUS Group
Get unit WSUS Group
More like this
CMS_AddUnitToWSUSUnAssignedGroup
CMS_AddUnitToWSUSUnAssignedGroup
More like this