JC,
There are several ways to doing this generally.
One way is to use ldifde. Granted, this is not really scripting but it
would be a great thing for you to get to learn. It will help your general
knowledge of Active Directory.
Another way is to make use of the newer ds* tools. These are available with
WIN2003. However, you can use them in WIN2000 SP3 ( I think, know that SP4
works ). But, there is a little bit of functionality that does not work so
well ( and I have not played with this enough in a WIN2000 environment to
tell you what exactly does not work so well. I am simply going from what
others have posted. maybe I should not do that, but.... ).
There is also ADModify. This is a nice little utility that does a whole lot
of things. There are now two versions: 1.6 and .net. Here is the link:
ftp://ftp.microsoft.com/PSS/Tools/Exchange%20Support%20Tools/ADModify/
You will fall in love with this tool! I know that I have.
Another great web site ( that has recently gone under some serious
updates! ) is Joe's web site at
http://www.joeware.net. He has a lot of
tools that really help Admins. I have not yet used adfind ( sorry, Joe )
but am thinking that his tool might be able to help you - to some degree!
You will definitely want to take a look at oldcmp. It helps you manage your
computer account objects. And, it can be modified to be used on user
account objects.
I can not help you with the scripting solution as I am still a non-scripter
( but that will change eventually ). There are a ton of scripting web sites
that can help you do this. Check out Technet and check out Richard
Mueller's web site (
http://www.rlmueller.net ) as well as doing a google.
Someone in this newsgroup will be able to point you to the correct web site.
Now, to get to your question: I would consider looking into a policy for
Exchange that sets the size limits. You can create the policy and apply it
to a store. If there are certain individuals to whom this size limit policy
should not apply then all you would need to do is to open up the ADUC MMC
and go to those specific user account objects and change it there. I bet
that this is what you are doing.
Anyway, hope that this helps you a little bit.
Cary