QUOTE(Alex@Synergy @ Nov 27 2007, 04:30 AM)

Hi all,
I am new to scripting and I've been asked to create a script that when run, will check the Local users on the machine and report back with the username & what group memberships that account has.
This will be run about 20-30 Windows Server 2003 Enterprise/Standard servers, I have novice level of scripting so if anyone can help that would be great!
Thanks,
Al
P.S. If there are any other details you need to know just ask

If these machines are on a domain, I'd suggest just using LDAP via the dsquery command to do this...if they're local accounts only (though I can't imagine why you would want to have 20-30 windows machines to manage without using a domain controller) you could look into the Windows Management Instrumentation Client (wmic) documentation...you can get pretty much anything you want out of the system using that command.
Comment/Reply (w/o sign-up)