Deptive-triangle-img-2

XenApp Farm Health Report

  • Jason Poyner
  • May 27, 2012

XenApp Farm Health Report

  • Jason Poyner
  • May 27, 2012

UPDATE: Version 2 of this script has been released

I recently created a Powershell script to report on several key items in a XenApp 6.x farm and e-mail a health check report. I run this script as a scheduled task on a XenApp server on a daily 7:00 am trigger. It gives XenApp administrators some confidence that the farm is in a good operational state for the day.

The script checks the health of a XenApp 6.x farm and e-mails two reports. The full farm health report is attached to the e-mail and any errors encountered are in an html report embedded in the email body.
This script checks the following:
– Ping response
– Logon enabled
– Assigned Load Evaluator
– ICA port response (at this stage only ICA, not CGP is tested)
– WMI response (to check for WMI corruption)
– Server uptime (to ensure scheduled reboots are occurring)
– Server folder path and worker group memberships are report for informational purposes