XenApp 6.5 - Find possible dead server
We had an issue where McAfee was unfortunately deployed on accident - to every single server across 3 large environments (not by me :)).
The latest patch 4 onward mcafee 8.8 is incompatible with anything under HRP5. XenApp servers would randomly die.
So you need to be running HRP06 or higher, which if you have an ‘interesting’ change management process, can take several weeks to get tested, deployed etc.
I found WMI would fail on screwed servers. So here is a quick script to ascertain which servers are dead:
Output looks like this: