Powershell - Add the ability to get Attributes or Elements by Category

Idea created by TimothyVann on Aug 6, 2018
    Submitted
    Score0
    Originally posted on UserVoice

    Add the ability to retrieve Attributes and Elements by category for  Powewhell command-lets.

    Example 1:

    $cat = Get-AFCategory -Name "Product A Manufacturing" -Element -AFDatabase $afDB

    get-AFElement -category $cat -AFDatabase $afDB

    Get a list of all the elements in category "Product A Manufacturing"

    Example 2:

    $cat = Get-AFCategory -Name "KPIs" -Attribute -AFDatabase $afDB

    Get-AFAttribute -category $cat

    Get a list of all attributes in category "KPIs"