Ensure you run this on a XA box connected to the farm you want to interrogate and ensure that the XASDK6.5 from citrix is installed from HERE
Run the following command from the XenApp SDK Powershell Prompt:
Get-XAApplication | Format-Table -AutoSize -Property BrowserName | Out-File c:pubapps.txt
That worked, thank you.
5 years later and this was exactly what i was looking for, for my old 6.5 env. Thanks!!