I can think of a couple ways-

You can modify the script here to just count:
http://briandesmond.com/blog/archive/2006/09/04/Script-to-Dump-Exchange-
Mailbox-Info-to-Spreadsheet-_2800_CSV_2900_.aspx 

You can also query the config partition, specifically cn=microsoft
exchange,cn=services,dcn=configuration,dc=blah,dc=blech for whatever the
cass is for the mailstores, I think msExchPrivateStore or something
similar. Then just iterate each of those and search AD for
homeMDB=DnOfThat. 

Thanks,
Brian Desmond
[EMAIL PROTECTED]

c - 312.731.3132

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:ActiveDir-
> [EMAIL PROTECTED] On Behalf Of Tom Kern
> Sent: Thursday, November 09, 2006 8:58 PM
> To: activedirectory
> Subject: [ActiveDir] mailbox enumeration(OT)
> 
> Can anyone help me out with a script that will just query every
> exchange server and SG in the org and dump out the # of mailboxes on
> each store to a txt file?
> 
> The output is simple, just EX severname-SGname-store-#of mailboxes.
> 
> I can get the size of a mailbox or store but I can't seem to just
> query for # of mailboxes on a store and dump that to a text file.any
> example or suggestione would be appreciated.
> 
> Thanks
> List info   : http://www.activedir.org/List.aspx
> List FAQ    : http://www.activedir.org/ListFAQ.aspx
> List archive:
http://www.mail-archive.com/activedir@mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir@mail.activedir.org/

Reply via email to