Get-ASAppModelData
Powershell cmdlets are enabled with AdminStudio Enterprise Edition.
You can use the Get-ASAppModelData cmdlet to get App Model Data of the packages present in the Catalog.
Examples
The following is an example of the Get-ASAppModelData cmdlet:
Get-ASAppModelData -PackageId 1 -Type DataContingencies
Get-ASAppModelData -PackageId 1 -Type DefineCriteria
Get-ASAppModelData -PackageId 1 -Type Dependency
Get-ASAppModelData -PackageId 1 -Type DetectionMethod
Get-ASAppModelData -PackageId 1 -Type InstallBehavior
Get-ASAppModelData -PackageId 1 -Type Requirement
Get-ASAppModelData -PackageId 1 -Type ReturnCode
Get-ASAppModelData -PackageId 1 -Type Supercedence
Get-ASAppModelData Parameters
| Parameter | Description |
|---|---|
| PackageId | Specifies the package Id for the package. |
| Type | Select one of the following pre-defined set of values: DataContingencies DefineCriteria Dependency DetectionMethod InstallBehavior Requirement ReturnCode Supercedence |
| DistributionSystem | Select one of the following from the pre-defined set of values: ConfigMgr Intunewin WorkspaceONE Only Additional Requirements will be fetched for the Intunewin packages. |
Return Values
Returns the data value of the selected App Model Data and Criteria in the XML format.