...Because someone's gotta tell the story...


To return to the main Blog List, click Full Blog Listing.



Quick XenApp Report for Published Apps

Wednesday, March 30, 2016 in Technical Articles (Views: 1336)
A quick blog for those who are looking to enumerate applications over Citrix XenApp. This is just a simple report into CSV format which will give you the basics:
- Name of the app
- Whether or not it's enabled
- What commandline is being used
- Is it being added to the desktop
- What servers is it assigned to run on

add-pssnapin citrix*
$csvfile = "c:\temp\myfile.csv"
Get-XAApplicationReport * -ErrorAction SilentlyContinue | select DisplayName, Enabled, CommandLineExecutable, AddToClientDesktop, @{n="Servers";e={[string]::join(" ; ", $_.ServerNames)}} | Export-Csv -NoTypeInformation $csvFile

Why the semicolon? Looks bad to use a comma in a CSV file. :) Happy Scripting.


Related Blogs You May Be Interested In:

To leave a comment, please log in and/or register.