/
Add Package to BusinessUnit
Add Package to BusinessUnit
Description
Adds a package to a Business Unit.
Syntax
Public Function AddPackageToBusinessUnit(ByVal packageName As String, ByVal packageVersion As String, ByVal packageType As String, ByVal businessUnitName As String) As Boolean
Parameters
PackageName (String)
The name of the package.
PackageVersion (String)
The package Version.
PackageType (String)
The package type;
1 (Computer)
2 (User)
BusinessUnitName (String)
The name of the business unit
Return Value
Boolean. The function returns true if the package is added to the business unit, otherwise false.
Example
VBScript
Set oCMS = CreateObject("CapaInstaller.SDK")
wscript.echo oCMS.SetDefaultManagementPoint("1")
wscript.echo oCMS.AddPackageToBusinessUnit("Winrar","v3.0","1","HeadQuarterBronx")
|
Available from
CapaInstaller 6.2, build 100
, multiple selections available,
Related content
Business Unit support
Business Unit support
More like this
CMS_AddPackageToUnit
CMS_AddPackageToUnit
More like this
CMS_AddUnitToWSUSUnAssignedGroup
CMS_AddUnitToWSUSUnAssignedGroup
More like this
CMS_RemovePackageFromUnit
CMS_RemovePackageFromUnit
More like this
CMS_AddComputerToStaticGroup
CMS_AddComputerToStaticGroup
More like this
CMS_GetPackageStatus
CMS_GetPackageStatus
More like this