Get-ASDistributionProperty
Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.
You can use the Get-ASDistributionProperty cmdlet to retrieve the property value of the distribution system for a package. The property name will be fetched from the Property_PluginId table for the corresponding distribution system. For example, for Casper server distribution system, the property will be fetched from [Property_D66C6D178DD549419D129CED61BA4C9E].
Example
The following is an example of the Get-ASDistributionProperty cmdlet:
Get-ASDistributionProperty-PackageId 9-SystemConnectionName 'Altiris'-PropertyName 'PackageName'
Important:All parameters are mandatory.
Parameters
The Get-ASDistributionProperty cmdlet has the following parameters:
Parameter |
Description |
PackageId |
(Required) Use to specify the ID number of the package that you want to get distribution properties for. The ID number is obtained from the cstblPackage table. |
-SystemConnectionName |
(Required) Use to specify a named connection to a deployment system. See Creating Multiple Named Connections to Distribution Systems for more information. |
PropertyName |
(Required) Use to specify the name of the property that you want to get. The name of the property is fetched from the Property_PluginId table for the corresponding distribution system. |
Returns
The corresponding property value's display text is returned.
Note:The value of a property that is stored may not be the value which is displayed in the AdminStudio user interface. For example, Workspace ONE has a property called pushmodeinternal (enum) and one of its values is ondemand. However, in the AdminStudio user interface, this value is displayed as On Demand. The Get-ASDistributionProperty cmdlet returns the display value (On Demand), not the stored value (ondemand).
See Also