Add-PSSnapIn citrix.xenapp.commands Add-PSSnapIn citrix.common.Commands Add-PSSnapIn citrix.common.groupPolicy $BodyText = "" $PreText = "

Last Updated:" + (get-date) +"

" $PostText = "

Email xxxxxxxxx@xxxxxxxxx.com with any questions or comments about this report.

" Get-XAApplicationReport * | select DisplayName, FolderPath, ApplicationType, @{n=”Servers”;e={[string]::join(” ; “, $_.ServerNames)}}, @{n="WorkerGroups";e={[string]::join(" ; ", $_.WorkerGroupNames)}}, @{n=”Users”;e={[string]::join(” ; “, $_.Accounts)}} | Sort-Object FolderPath | ConvertTo-HTML -PreContent $PreText -head $BodyText -title "XenApp Published Applications - xxxxxxxxx Farm" -body "

XenApp Published Applications - xxxxxxxxx Farm

" -PostContent $PostText | Out-File D:\CitrixDashboard\xenapp-xxxxxxxxx.htm