Get-ASProperty

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

Edition:Powershell cmdlets are enabled with AdminStudio Enterprise Edition and with Workflow Manager.

You can use the Get-ASProperty cmdlet to return the value for a property specified using the -PropertyName parameter associated to a specified package specified using -PackageId parameter.

Note:The Get-ASProperty cmdlet supports only ConfigMgr (Formerly called as System Center Configuration Manager) distribution-level properties. To get other distribution-level properties for a package, use Get-ASDistributionProperty.

Note:The Get-ASProperty cmdlet also supports ASCMPackageData table properties. This is a dynamic table that stores some of the properties of the new package types such as .apk, .ipa, .dmg, etc. These property values can be fetched using this cmdlet.

Example

Get-ASProperty-PackageId 35-PropertyName "AutoInstall"

Parameters

The Get-ASProperty cmdlet has the following parameters:

Get-ASProperty Parameters

Parameter

Description

PackageId

ID of the package that will be returned.

PropertyName

Name of the property.

Note:For more information on parameters, see Set-ASProperty.

Return Values

The property value for the specified property for the specified package is returned.

See Also