Add-ASExtendedAttribute

AdminStudio 2024 | 27.0 | AdminStudio PowerShell Cmdlets

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

A PowerShell Cmdlet that adds the new extended attribute to the package.

Examples

The following are examples of the Add-ASExtendedAttribute cmdlet:

Add-ASExtendedAttribute -PackageId 1 -AttributeName "SAmple" -AttributeValue "Admin"

Parameters

The Add-ASExtendedAttribute cmdlet has the following parameters:

Add-ASExtendedAttribute Parameters

Parameter

Description

PackageId

(Required) The ID of the package.

AttributeName

(Required) The Name of the new attribute.

AttributeValue

The value for an attribute.

Return Values

By providing the package ID, AttributeName, and AttributeValue as input parameters, the new attribute will be included along with the default extended attributes.

See Also