Get unit WSUS Group
Description
Get the WSUS Group name for a unit
Syntax
GetUnitWSUSGroup(ByVal unitName As String, ByVal unitType As String) As String
Parameters
UnitName (String)
The name of the unit
UnitType (String)
Type of Unit
- "Computer"
- "User"
Return Value
String. The function returns the WSUS Group for the unit.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK") wscript.echo oCMS.SetDefaultManagementPoint("1") wscript.echo oCMS.GetUnitWSUSGroup("Klient", "Computer")
, multiple selections available,
Related content
Troubleshooting WSUS Server
Troubleshooting WSUS Server
More like this
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
CMS_GetPackageStatus
CMS_GetPackageStatus
More like this