Need to get a list of all users within a subnet of servers

Posted by mikedopp on Server Fault See other posts from Server Fault or by mikedopp
Published on 2014-06-09T21:10:48Z Indexed on 2014/06/09 21:27 UTC
Read the original article Hit count: 316

I am looking to write a batch or vbs script to gather all users (local to the server. ie. administrators or a local account(not ad users)) on a collection of servers inside my network.

I assume I could do this by subnet. Could even put the server names into a csv text file for the script to read from and report back to. Lots to ask. I would use net user however I run into local access only.

Ideas? Or too many security walls to work?

© Server Fault or respective owner

Related posts about scripting

Related posts about users