This article describes how to display a list of applications published to a specified Worker Group and applications published to a specified server through its Worker Group memberships by leveraging PowerShell and the XenApp 6 SDK.
The Worker Groups feature in XenApp 6 and XenApp 6.5 facilitate publishing of applications to groups of servers. These groups can be based on a discrete list of farm server, Organizational Units membership or Active Directory group membership. Currently, the AppCenter console or Delivery Services Console does not facilitate neither displaying the applications that are published to a specific Worker Group nor displaying the applications published to any specific server through a Worker Group.
PowerShell installed on a XenApp 6.x server in the farm and domain to run the required commands
Displaying all applications published to a specified Worker Groups
Displaying all applications published to a specified server through Worker Groups
To download and install Citrix XenApp SDK, complete the following procedure:
Download and install the Citrix XenApp 6 SDK on a XenApp 6 server.
XenApp SDK can be downloaded from the following resources:
On the XenApp6 server, start Windows PowerShell with Citrix XenApp Server SDK from the Start menu (Start > All Programs > Citrix > XenApp Server SDK).
Run the following PowerShell command to display all applications published to a specified Worker Group of which <ServerName> is a member:
get-xaapplication -WorkerGroupName LB1 | Format-Table -AutoSize -Property ApplicationType,FolderPath,BrowserName
Note: The Format-Table cmdlet is optional and customizable to suit the needs of the administrator.
Following is the sample output of the preceding command:
ApplicationType FolderPath BrowserName
--------------- ---------- ----------- ----------- ----------- -----------
ServerInstalled Applications cmd
ServerDesktop Applications DT601
ServerInstalled Applications IE
ServerInstalled Applications Notepad XA6
Run the following PowerShell command to display all applications published to a specified Server through a Worker Group of which <ServerName> is a member:
get-xaworkergroup -ServerName <ServerName> | Get-XAApplication | Format-Table -AutoSize -Property ApplicationType,FolderPath,BrowserName
Note: The Format-Table cmdlet is optional and customizable to suit the needs of the administrator.
Following is the sample output of the preceding command:
ApplicationType FolderPath BrowserName --------------- ---------- ----------- ----------- ----------- ----------- ServerInstalled Applications cmd ServerDesktop Applications DT601 ServerInstalled Applications IE ServerInstalled Applications Notepad XA6 ServerInstalled Applications/TestFolder cmd2
Refer to the command, get-help get-XAApplication -detailed from the XenApp SDK PowerShell environment for additional information.
Download - XenApp 6 PowerShell SDK
Download - XenApp 6.5 PowerShell SDK
CTX129651 - Overview and Implementation of Worker Groups in XenApp