How to find database members
Is there a relatively easy way to enumerate the members of the mailbox databases other than going through the individual user accounts and noting down which database their mailbox is stored in?
January 14th, 2009 1:09pm
Dear Greg,
This command can help you.
get-mailboxdatabase "<ServerName>\<MSG3>\<MSG3-MS5>" get-mailbox sort name
Refrence :http://www.exchange-powershell.com/2008/12/mailboxes-in-mail-database-exchange.htmlThanks and Regards,Ashwini Kumar!!! Happy to Help !!!Know more about Messaging :-)
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2009 1:35pm
Little change, blogspot doesn't allow pipe symbole " | " so correct command should be below.Get-MailboxDatabase "<ServerName>\<StorageGroupName>\<DatabaseName>" | Get-Mailbox Sort Name Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
January 14th, 2009 2:35pm
Amit Tank said:
Little change, blogspot doesn't allow pipe symbole (|) so correct command should be below.
Get-MailboxDatabase "<ServerName>\<StorageGroupName>\<DatabaseName>" | Get-Mailbox Sort Name
Amit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Thanks for the help guys.I just need to use this and it worked like a charm.| Get-Mailbox-Sort Name
Free Windows Admin Tool Kit Click here and download it now
January 14th, 2009 3:05pm