shared mailboxes on Exchnage server 2003 and 2007
how can I get a list of shared mailboxes that are on an Exchange 2003 and Exchange 2007 servers.lan admin sql training
July 18th, 2011 5:48pm
on the Exchange management shell
run the command
get-mailbox -resultsize Unlimited | ? { $_.recipientTypeDetails -eq "SharedMailbox" } | measure-count
or
$mailbox = get-mailbox -resultsize Unlimited | ? { $_.recipientTypeDetails -eq "SharedMailbox" }
$mailbox.countThanks Joseph Pradeep
Free Windows Admin Tool Kit Click here and download it now
July 18th, 2011 7:05pm
Hi rhaslam,
Do you mean that you want to get a list of shared mailboxes that are in Exchange 2003 coexistence with Exchange 2007?
If so, per my test, you cannot
use “get-mailbox -resultsize Unlimited | ? { $_.recipientTypeDetails -eq "SharedMailbox" }” to get all the shared mailboxes. it can only get the shared mailboxes on Exchange 2007.
If you mean environment with only Exchange 2003 or Exchange 2007, you can use this command to get shared mailboxes in Exchange 2007:
get-mailbox -resultsize Unlimited | ? { $_.recipientTypeDetails -eq "SharedMailbox" }
Thanks,
Evan Liu
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
tngfb@microsoft.com
July 19th, 2011 4:45am
run this command
$mailbox = get-user | ? { $_.recipientTypeDetails -eq "SharedMailbox" }
$mailbox.count
Thanks Joseph Pradeep
Free Windows Admin Tool Kit Click here and download it now
July 20th, 2011 9:56am