Not my work ofcourse :)
# 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
# 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