Add-ASKeywords

AdminStudio 2020 | 19.0 | AdminStudio PowerShell Cmdlets

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

You can use the Add-ASKeywords cmdlet to add App Portal catalog item keywords to the Application Catalog (as individual records in the ASKeywords table). After creating a keyword, you can use the Set-ASProperty cmdlet to assign the keyword to an application, as described in the Set-ASProperty topic under Keywords.

Note:Keywords created using the Add-ASKeywords cmdlet are also available for selection on the Keywords dialog box. For more information, see Specifying Catalog Item Keywords.

Note:Until you create a keyword using either the Add-ASKeywords cmdlet or the Edit Keywords dialog box, you cannot use the Set-ASProperty cmdlet to assign it to an application. If you attempt to do so, an error will be returned.

Example

The following is an example of the Add-ASKeywords cmdlet:

Add-ASKeywords–NewKeywords 'accounting, spreadsheet, project management, graphs'

Parameters

The Add-ASKeywords cmdlet has the following parameter:

Add-ASKeywords Parameters

Parameter

Description

NewKeywords

Use to add App Portal catalog item keywords to the Application Catalog.

If you are adding more than one keyword, you must enclose the comma-delimited list in single quote marks, such as:

Add-ASKeywords–NewKeywords 'accounting, spreadsheet, graphs'

Return Values

One of the following values is returned:

True—Keyword was added to the ASKeywords table.
False—Keyword was not added to the ASKeywords table.