Citrix Daas SDK

Get-BrokerApplicationGroup

Gets details of configured application groups.

Syntax

Get-BrokerApplicationGroup
   [[-Name] <String>]
   [-AdminFolderName <String>]
   [-AdminFolderUid <Int32>]
   [-ApplicationGroupName <String>]
   [-AssociatedDesktopGroupPriority <Int32>]
   [-AssociatedDesktopGroupUid <Int32>]
   [-AssociatedDesktopGroupUUID <Guid>]
   [-AssociatedUserFullName <String>]
   [-AssociatedUserName <String>]
   [-AssociatedUserSID <String>]
   [-AssociatedUserUPN <String>]
   [-Description <String>]
   [-Enabled <Boolean>]
   [-Metadata <String>]
   [-RestrictToTag <String>]
   [-ScopeId <Guid>]
   [-ScopeName <String>]
   [-SessionSharingEnabled <Boolean>]
   [-SingleAppPerSession <Boolean>]
   [-Tag <String>]
   [-TenantId <Guid>]
   [-TotalApplications <Int32>]
   [-TotalMachines <Int32>]
   [-TotalMachinesWithTagRestriction <Int32>]
   [-UserFilterEnabled <Boolean>]
   [-UUID <Guid>]
   [-ApplicationUid <Int32>]
   [-DesktopGroupUid <Int32>]
   [-TagUid <Int32>]
   [-UserSID <String>]
   [-Property <String[]>]
   [-ReturnTotalRecordCount]
   [-MaxRecordCount <Int32>]
   [-Skip <Int32>]
   [-SortBy <String>]
   [-Filter <String>]
   [-FilterScope <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->
Get-BrokerApplicationGroup
   [-Uid] <Int32>
   [-Property <String[]>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

The Get-BrokerApplicationGroup cmdlet returns application groups that have been configured as part of the site.

With no parameters, Get-BrokerApplicationGroup returns all the application groups that have been configured. You also can use the parameters of Get-BrokerApplicationGroup to filter the results to just application groups you’re interested in. You can also identify application groups by their UIDs or their Names.

See about_Broker_Applications for more information.

————————– BrokerApplicationGroup Object

A BrokerApplicationGroup object represents a single application group that has been configured as part of the site. It has the following properties:

  • AdminFolderName (System.String)

    The name of the admin folder the application group is in (including trailing backslash), or the empty string if the application group is at the root level

  • AdminFolderUid (System.Int32)

    The Uid of the admin folder the application group is in (if any)

  • ApplicationGroupName (System.String)

    Name of the application group (must be unique within a Folder)

  • AssociatedDesktopGroupPriorities (System.Int32[])

    List of associated desktop group priorities. This list is presented in the same order as AssociatedDesktopGroupUids and AssociatedDesktopGroupUUIDs. When launching an application an available machine from one of the associated desktop groups is selected. Desktop groups are searched for available machines in order of their priority.

  • AssociatedDesktopGroupUids (System.Int32[])

    List of associated desktop group uids. Associated desktop groups is the list of desktop groups on which the application group is published. The list is sorted by priority, with the highest priority desktop group first.

  • AssociatedDesktopGroupUUIDs (System.Guid[])

    List of associated desktop group UUIDs. Associated desktop groups is the list of desktop groups on which the application group is published. The list is sorted by priority, with the highest priority desktop group first.

  • AssociatedUserFullNames (System.String[])

    List of associated users (full names). Associated users is the list of users who are given access using the application group/user mapping filter.

  • AssociatedUserNames (System.String[])

    List of associated users (SAM names). Associated users is the list of users who are given access using the application group/user mapping filter.

  • AssociatedUserSIDs (System.String[])

    List of associated users (SIDs). Associated users is the list of users who are given access using the application group/user mapping filter.

  • AssociatedUserUPNs (System.String[])

    List of associated users (user principle names). Associated users is the list of users who are given access using the application group/user mapping filter.

  • Description (System.String)

    Optional application group description. This description is visible in Citrix Studio and can be used for any purpose. As with other facets of application groups, the description is not visible to end users.

  • Enabled (System.Boolean)

    Specifies whether or not the applications in this application group can be launched.

  • MetadataMap (System.Collections.Generic.Dictionary<string, string>)

    Metadata for this application group.

  • Name (System.String)

    Site-wide unique full path name of this application group including all containing folders, for example, Folder1\Folder2\MyApplicationGroup The name is visible in Citrix Studio and uniquely identifies the application group. As with other facets of application groups, the name is not visible to end users.

  • RestrictToTag (System.String)

    Optional tag that may be used further to restrict which machines may be used for launching the application group’s applications. A machine may be used by an application group if either the application group has no tag restriction or the application group does have a tag restriction and the machine is tagged with the same tag.

  • Scopes (Citrix.Fma.Sdk.DelegatedAdminInterfaces.ScopeReference[])

    The list of the delegated admin scopes to which the application group belongs.

  • SessionSharingEnabled (System.Boolean)

    Whether applications in this application group can share sessions with applications in other application groups (or with applications that are not a member of an application group). Applications in the same application group can always share sessions with each other, unless session sharing has been disabled by other means.

  • SingleAppPerSession (System.Boolean)

    Indicates whether each application launched from this application group uses a new session or can share an existing one.

  • Tags (System.String[])

    Tags associated with the application group.

  • TenantId (System.Guid?)

    Identity of tenant associated with application group. Not applicable (always blank) in non-multitenant sites.

  • TotalApplications (System.Int32)

    Number of applications in the application group.

  • TotalMachines (System.Int32)

    Total number of machines across all desktop groups on which the application group is published.

  • TotalMachinesWithTagRestriction (System.Int32)

    Total number of machines across all desktop groups on which the application group is published, and which are tagged with the tag given by the RestrictToTag property. The value of this property is always equal to or less than the value of the TotalMachines property. If RestrictToTag is $null, then the properties’ values are equal.

  • Uid (System.Int32)

    Uid of the application group.

  • UserFilterEnabled (System.Boolean)

    Whether the application group’s user filter is enabled.

  • UUID (System.Guid)

    UUID of the application group.

Examples

EXAMPLE 1

Gets application groups whose name starts with “Account”.

Get-BrokerApplicationGroup -Name "Account*"
<!--NeedCopy-->

EXAMPLE 2

Gets application groups for which session sharing with applications in other application groups has been disabled.

Get-BrokerApplicationGroup -SessionSharingEnabled $false
<!--NeedCopy-->

Parameters

-Uid

Gets the application group with the given Uid.

Type: Int32
Position: 2
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-Name

Gets application groups whose full path name matches the supplied pattern.

Type: String
Position: 2
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AdminFolderName

Gets application groups that are in admin folders matching the specified name.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AdminFolderUid

Gets application groups that are in the specified admin folder.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-ApplicationGroupName

Gets application groups that match the specified simple name.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AssociatedDesktopGroupPriority

Gets application groups with which a desktop group has been associated with the specified priority.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AssociatedDesktopGroupUid

Gets application groups which have been associated with the specified desktop group. The desktop group is identified by its Uid.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AssociatedDesktopGroupUUID

Gets application groups which have been associated with the specified desktop group. The desktop group is identified by its UUID.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AssociatedUserFullName

Gets application groups with an associated user identified by their user name (usually ‘first-name last-name’).

If the ‘UserFilterEnabled’ property is true then access to applications in the application group is restricted to those users only. Otherwise, access is unrestricted (but always subject to other policy rules).

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AssociatedUserName

Gets application groups with an associated user identified by their user name (in the form ‘domain\user’).

If the ‘UserFilterEnabled’ property is true then access to applications in the application group is restricted to those users only. Otherwise, access is unrestricted (but always subject to other policy rules).

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AssociatedUserSID

Gets application groups with an associated user identified by their Windows SID.

If the ‘UserFilterEnabled’ property is true then access to applications in the application group is restricted to those users only. Otherwise, access is unrestricted (but always subject to other policy rules).

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-AssociatedUserUPN

Gets application groups with an associated user identified by their user principle name (in the form ‘user@domain’).

If the ‘UserFilterEnabled’ property is true then access to applications in the application group is restricted to those users only. Otherwise, access is unrestricted (but always subject to other policy rules).

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-Description

Gets application groups whose description matches the supplied pattern.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-Enabled

Gets application groups which are currently enabled.

Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Metadata

Gets records with matching metadata entries.

The value being compared with is a concatenation of the key name, a colon, and the value. For example: -Metadata “abc:x*” matches records with a metadata entry having a key name of “abc” and a value starting with the letter “x”.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-RestrictToTag

Gets only application groups with the specified tag restriction.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-ScopeId

Gets application groups which are part of the supplied administrative scope. The scope is identified by its GUID.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-ScopeName

Gets application groups which are part of an administrative scope whose name matches the supplied pattern.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-SessionSharingEnabled

Gets application groups for which session sharing is enabled.

Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-SingleAppPerSession

Specifies whether each application launched from this application group starts in its own new session or can share an existing suitable session if present.

Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Tag

Gets application groups that have been tagged with a tag whose name matches the specified pattern.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-TenantId

Gets desktop groups associated with the specified tenant identity.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-TotalApplications

Gets application groups that contain the specified number of applications.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-TotalMachines

Gets application groups that are published on the specified number of machines, without taking the tag restriction into account.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-TotalMachinesWithTagRestriction

Gets application groups that are published on the specified number of machines, taking the tag restriction into account.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-UserFilterEnabled

Gets application groups whose user filter is currently enabled.

Type: Boolean
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-UUID

Gets the application group with the given UUID.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-ApplicationUid

Gets only application groups to which the given application has been added.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-DesktopGroupUid

Gets application groups which have been added to the specified desktop group.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-TagUid

Gets application groups that have been tagged the given tag. The tag is identified by its Uid.

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-UserSID

Gets application groups for which the specified user is a member of the user filter. The user account is identified by its SID.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: True

-ReturnTotalRecordCount

When specified, this causes the cmdlet to output an error record containing the number of records available. This error record is additional information and does not affect the objects written to the output pipeline. See about_Broker_Filtering for details.

Type: SwitchParameter
Position: Named
Default value: False
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-MaxRecordCount

Specifies the maximum number of records to return.

Type: Int32
Position: Named
Default value: 250
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Skip

Skips the specified number of records before returning results. Also reduces the count returned by -ReturnTotalRecordCount.

Type: Int32
Position: Named
Default value: 0
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-SortBy

Sorts the results by the specified list of properties. The list is a set of property names separated by commas, semi-colons, or spaces. Optionally, prefix each name with a + or - to indicate ascending or descending order. Ascending order is assumed if no prefix is present.

Type: String
Position: Named
Default value: The default sort order is by name or unique identifier.
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Filter

Gets records that match a PowerShell style filter expression. See about_Broker_Filtering for details.

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-FilterScope

Gets only results allowed by the specified scope id.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Property

Specifies the properties to be returned. This is similar to piping the output of the command through Select-Object, but the properties are filtered more efficiently at the server.

Type: String[]
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You cannot pipe input into this cmdlet.

Outputs

Citrix.Broker.Admin.SDK.ApplicationGroup

Get-BrokerApplicationGroup returns an object for each matching application group.

Notes

Application groups are explained in about_Broker_Applications.

To perform greater-than or less-than comparisons, use -Filter. For more information, see about_Broker_Filtering and the examples.

Get-BrokerApplicationGroup