Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Get-UserSession.ps1 #7

Open
steviecoaster opened this issue Jul 25, 2018 · 2 comments
Open

Add Get-UserSession.ps1 #7

steviecoaster opened this issue Jul 25, 2018 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@steviecoaster
Copy link
Owner

returns currently running user sessions on a local or remote machine. Returns details about the session such as whether it is a console session, RDP, active, disconnected, or locked as well as the session duration, logon time, idle time (time since a keyboard or mouse was used), disconnect time and lock duration.

Idea credit: Reddit user /u/zanatwo

@steviecoaster steviecoaster added the enhancement New feature or request label Jul 25, 2018
@theSysadminChannel
Copy link

If someone is up to it, they can go off the script that I created a while ago for something very simlar to this. It already shows if its a console session, RDP session, active, disconnected, however idle time is not added.

https://thesysadminchannel.com/find-users-logged-into-a-server-and-log-them-off-remotely/

@steviecoaster steviecoaster added this to the Functional milestone Jul 28, 2018
@steviecoaster
Copy link
Owner Author

I added your script in commit 23703c0

Thanks for that! Saves a ton of time. I'll add the rest into it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants