This recipe will show you how to use the Citrix Chained Reboot Script for XenApp 6.5, created and provided by Dane Young. This PowerShell script allows you to implement a reboot schedule, where the users are not kicked off the XenApp server for a reboot. Instead the server is removed from the XenApp Farm load balancing and will wait for all user sessions to be logged off before the reboot is performed.
You can read all about the Citrix Chained Reboot Scripts and download it from the following post by Dane Young in the ITVCE website:
To set up a scheduled task for the Chained Reboot Script, perform the following steps: