Working with PowerPacks
Introduction
Section titled “Introduction”Packages in CapaInstaller have always been built on VBScript, but since the PowerShell scripting language is taking over the way most IT professionals manage task automation, it is now possible to build packages in CapaInstaller, using PowerShell. No PowerShell installation is needed on the client computers as the scripts are executed in PowerShell Runspaces created by the BaseAgent on the fly.
For clarity, each topic is described in subpages;
- How to create a PowerPack
- Setting up an editor for PowerShell scripts
- Editing installation scripts
- How PowerPack installations work
- Taking a look at all the logfiles
CMS Functions
Section titled “CMS Functions”Below is a link to the CMS functions list, which contains both VBScript as well as PowerShell functions
The CMS category contains various functions used in conjunction with CMS.
Functions list:
- CMS_ActivateAlternativeColorScheme
- CMS_AddComputerToCalendarGroup
- CMS_AddComputerToDepartmentGroup
- CMS_AddComputerToPowerSchemeGroup
- CMS_AddComputerToReinstallGroup
- CMS_AddComputerToStaticGroup
- CMS_AddCustomInventory
- CMS_AddCustomUserInventory
- CMS_AddHardwareInventory
- CMS_AddPackageToUnit
- CMS_AddUnitToBusinessUnit
- CMS_AddUnitToWSUSUnAssignedGroup
- CMS_AddUserToStaticGroup
- CMS_DefineEndUserCancellation
- CMS_ExistPackageOnManagementServer
- CMS_GetAdvertisedPackages
- CMS_GetContainer
- CMS_GetDeploymentTemplateVariable
- CMS_GetGroupMembership
- CMS_GetInventory
- CMS_GetLinkedPackages
- CMS_GetPackage
- CMS_GetPackageProperties
- CMS_GetPackageStatus
- CMS_GetProperty
- CMS_GetUninstallSource
- CMS_IncrementSessionID
- CMS_InstallAdvertisedPackage
- CMS_IsPackageLinked
- CMS_IsPackageScheduleEnabled
- CMS_JobRetryLater
- CMS_RemoveComputerFromCalendarGroup
- CMS_RemoveComputerFromDepartmentGroup
- CMS_RemoveComputerFromPowerSchemeGroup
- CMS_RemoveComputerFromReinstallGroup
- CMS_RemoveComputerFromStaticGroup
- CMS_RemoveCustomInventory
- CMS_RemoveCustomUserInventory
- CMS_RemoveHardwareInventory
- CMS_RemovePackageFromUnit
- CMS_RemoveUserFromDepartmentGroup
- CMS_RemoveUserFromStaticGroup
- CMS_RerunAgent
- CMS_RerunPackage
- CMS_RunSystemAgent
- CMS_RunUserAgent
- CMS_SetBorderColor
- CMS_SetBottomColor
- CMS_SetPackageStatusToInstalled
- CMS_SetPackageStatusToNotCompliant
- CMS_SetTextColor
- CMS_SetTopColor
- CMS_UninstallPackageFromUnit
- CMS_UninstallPackageFromUnitById
- CMS_UseAlternativeColorSchemeAt