I am using the attached PowerShell scripts (XeAapp_Check.ps1, Ctx_functions.ps1) to export the XenApp 4.5 Zone details to HTML file as a report. On executing the script for the first time I am getting the desired result but unfortunately everytime I execute the script, the zone details gets appended to that report.
Here is my server details:
Farm Name: MyFarm
Server Name zone Name
XEN-2 TEST ZONE
Please assist me to get the correct result so that I can get the desired output by correctly modifying that script.