Skip to content

Package functions

Package functions let you retrieve information about CapaInstaller packages and manipulate them from a script, including creating, cloning, copying, importing, exporting, promoting, and deleting packages, and linking them to Business Units, groups, and Management Servers.

Package functions work on the current management point. Call Set instance management point before you call them.

Functions that work on a single package accept the package type as either a number or a name: 1 or "Computer" for computer packages, and 2 or "User" for user packages. The functions that return lists of packages (Get packages, Get all inventory packages, and Get all none inventory packages) only accept "Computer" or "User".