Need script to log off all sessions for particular pool

This post was originally published on this site

I feel like this should be easy but for some reason I cannot figure this one out. I need a simple script that will identify all open Horizon sessions from a given pool and then logoff each of those sessions. I would like to schedule this to run once daily at the time which that pools users should be out of office to ensure no sessions remain running.

 

Thanks in advance,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.