Need help to create Powershell script

Praveen kumar
Praveen kumar used Ask the Experts™
Hi There, I am looking for a  Powershell script which would basically check the Citrix servers if logon is disabled and no session connected to server then reboot the server. Can you please help to create the script. I would be thankful to you  for your help.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
there are great scripts within citrix blogs/community
search for "xenapp reboot script"
Also you can try this powershell script too, which is really working fine but you need to customise for your environment.
Shared details.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial