The following PowerShell commands are typically executed on management servers:
For XenApp 7:
add-pssnapin citrix*
get-BrokerSite
get-BrokerMachine
get-BrokerApplication *
For XenApp 6.x:
add-pssnapin citrix*
get-XAFarm
get-XAServer
get-XAApplicationReport -ComputerName * | Select ApplicationId, ApplicationType, DisplayName, FolderPath, Enabled, ContentAddress, CommandLineExecutable, WorkingDirectory -Expand Accounts
Output can be saved as a text file and delivered for analysis.