Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Script to check if there are users logged on in a server(s)

$
0
0
Hello,
I was wondering if any of you could help me with the following.  
I need a better script to check if there are users log in a server(s).
Right now what I am doing is... get the server name and enter it in the script below.  This will tell me if users are on it.

qwinsta.exe /server:SERVER

The problem is... this is time-consuming, i would prefer to the script to grab a TXT file with the list of server, and a script would show me something like:

SERVER1 .... 0 
SERVER2 .... 3
SERVER3 .... 10
SERVER4 .... 0

I been looking for a script, but i havent found one yet.
Thank you for your time


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>