This applies to Exchange 2000...
Here's some code to view the storage settings for an Exchange user. You will need to modify the LDAP path to be valid for your domain.
code:
BREAK ON
$adsUser = GetObject("LDAP://CN=USER,OU=OrgUnit,DC=DOMAIN,DC=COM")
$adsUser.GetInfo
? $adsUser.FullName ; Fullname of User
? $adsUser.mailNickname ; Exchange Alias
? $adsUser.mDBUseDefaults ; Does this user use the store defaults
? $adsUser.mDBStorageQuota ; When to issue a warning
? $adsUser.mDBOverQuotaLimit ; When to prevent sending
? $adsUser.mDBOverHardQuotaLimit ; When to prevent sending and receiving
$adsUser = Nothing
This should get you over the hump.
-Ben
http://www.rgcweb.org/kix