Title: Message
Ah I wouldn't say better than any script, but definitey faster.
 
I totally agree people should be looking at what they can do via batch and scripts. I would go so far to say that an admin who doesn't use batch and/or scripts is more a button pusher than an admin.
 
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Rochford
Sent: Tuesday, July 08, 2003 7:53 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Taking DC Offline

I know that your program is far better than any script but an unlock script is easy to do and might give a starting point to people wanting to write scripts. What I've done before is:
 
net user > users.txt
 
Load the users.txt file into Excel and remove the header/footer. Make the 3 columns one longer column of users.
Now add a formula in (say) B1 which does ="net user " & a1 & "/active:yes"
fill this down, copy it to notepad and save it as a .cmd file
 
It's hardly elegant but it's easy to create and might get people thinking about other things which can be done easily with a batch file :-)
 
Steve
-----Original Message-----
From: Joe [mailto:[EMAIL PROTECTED]
Sent: 07 July 2003 20:26
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Taking DC Offline

Check out unlock at www.joeware.net. Its free, its fast. Will display locked accounts or unlock them. Saves you the scripting time... Plus it runs faster than any script I have seen.
 
:o)
 
 

Reply via email to