Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Script To Check Local User Accounts
Alex@Synergy
post Nov 27 2007, 11:30 AM
Post #1


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 1
Joined: 27-November 07
Member No.: 26,487



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 biggrin.gif
Go to the top of the page
 
+Quote Post
ethergeek
post Nov 27 2007, 03:28 PM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 393
Joined: 9-March 07
From: Tucson, AZ
Member No.: 20,794



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 biggrin.gif


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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 5th December 2008 - 12:10 PM