Here is a PowerShell script to extract the published applications in a CSV file. This script could be used for XenApp 6.0 or above farms . I do not own the script so please use this at your own risk.
# Create variables
asnp citrix*
$outpath = [environment]::getfolderpath(“mydocuments”) + “\XenApp_Published_App_Report.csv”
$xaapplist = get-xaapplication
$appreport=foreach ($application in $xaapplist)
{get-xaapplicationreport -BrowserName $application.BrowserName}
# pipe appreport variable and select required objects for output
$appreport |
select-object BrowserName,
applicationtype,
enabled,
@{n=’accounts’; e={$_.accounts}},@{n=’servernames’; e={$_.servernames}},@{n=’workergroupnames’; e={$_.workergroupnames}},folderpath,commandlineexecutable,clientfolder,
startmenufolder,
encryptionlevel,
encryptionrequired,
windowtype,
colordepth |
#Export results to a CSV
export-csv $outpath
The original source of the script could be found here
Leave a comment