Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How would you modify a set of AD attributes for a specified list of users? In particular, I would like to set the following for individual users since the exchange general tab under user properties with Active Directory Users and Computers limits the size to 2^21 kB (2GB).

mDBStorageQuota
mDBOverQuotaLimit
mDBOverHardQuotaLimit

If the answer is ldifde, I could use a couple examples / spoonfeeding ... Also, would it just be modify, or does that attribute not exist until it is defined?

share|improve this question
add comment

2 Answers

Copying from another post (which I can't link to as a new user, just search for Admodify)

Admodify.NET from Microsoft is your friend. You should be able to use the attribute fuction to set those three properties.

(Again, I tried to include a screenshot but couldn't, its the first image on the MSDN page)

This can also be done in powershell if you are running exchange 2007, but that does not seem to be the case.

share|improve this answer
add comment

I'd generally use some VBScript for this, plenty of examples on the web, but something like this is what you want:

Set objUser = GetObject ("LDAP://cn=joeheadbanger,ou=blah,dc=mycompany,dc=com")
objUser.mDBStorageQuota = 666
objUser.SetInfo

Test on an unimportant account first, of course.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.