I am using Director to monitor sessions on our server, and if I observe a session in a Disconnected state for an 'extended' period of time, I proceed to log off the user. I am looking into setting up e-mail notifications so that I will be notified of such events.
I am planning on using PowerShell to send the e-mail notifications. What I also need to do is have PowerShell periodically check for disconnected sessions. Does anyone know what command syntax I would be able to use in order to accomplish this task?
Question
Andrew Kaplan
Hello --
I am using Director to monitor sessions on our server, and if I observe a session in a Disconnected state for an 'extended' period of time, I proceed to log off the user. I am looking into setting up e-mail notifications so that I will be notified of such events.
I am planning on using PowerShell to send the e-mail notifications. What I also need to do is have PowerShell periodically check for disconnected sessions. Does anyone know what command syntax I would be able to use in order to accomplish this task?
Thanks.
Link to comment
18 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now