|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Exchange Server 2003 Mailbox size by country
Does anyone know of a script to get the mailbox sizes listed by country out
of an exchange server? I have come across various scripts to get mailbox sizes (http://www.microsoft.com/technet/scriptcenter/scripts/message/default.mspx?mfr=true) - but I need this information with the country field. Anyone know how to do this or even if it is possible? Although I can't (off the top of my head) provide you with the code, the
process for getting it is two fold. For each account you lookup with the scripts you found below, you need to do a separate Global Catalog lookup for the Country/Region (which is the "c" LDAP attribute name assuming this is how you are determining the country. Based on ISO standard 3166, you can match the 2 letter code with the full country name. Alternatively, you might be able to match on the x.400 attributes (i.e. c=US), but that is still an Active Directory attribute and must be queried via a Global Catalog or LDAP lookup. Using the scripts below, it would seem pretty trivial to do this lookup within your For loop to echo the appropriate info. The bottom line is that Exchange doesn't natively store this information thus making it more difficult to bring it all together. Hope this helps. -- Show quoteJoseph T. Corey MCSE, Security+ Systems Administrator jco***@cmu.edu "dal" <d**@discussions.microsoft.com> wrote in message news:88044F12-962C-4B7A-AE37-8AC2BC31FC63@microsoft.com... > Does anyone know of a script to get the mailbox sizes listed by country > out > of an exchange server? > > I have come across various scripts to get mailbox sizes > (http://www.microsoft.com/technet/scriptcenter/scripts/message/default.mspx?mfr=true) > - but I need this information with the country field. Anyone know how to > do > this or even if it is possible? |
|||||||||||||||||||||||