WTarlton
asked on
Powershell Enumerate Mailbox Stores
I have the need to Enumerate all the different mailbox stores on our exchange servers. Can somebody show me how this is accomplished?
I have this so far but it pulls up every mailbox on the server...I just want the possible stores
Get-WmiObject -namespace root\MicrosoftExchangeV2 -class Exchange_Mailbox -computer "EXCHANGE_SERVER"
I have this so far but it pulls up every mailbox on the server...I just want the possible stores
Get-WmiObject -namespace root\MicrosoftExchangeV2 -class Exchange_Mailbox -computer "EXCHANGE_SERVER"
ASKER
I don't have that function?
ASKER
I guess I should specify that im not on an Exchange server and I need to do this through WMI from a DC.
When installend and ran "Start -> All Programs -> Exchange 2007 -> Exchange Management Shell" it have to there.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I have to agree there. You're better off with LDAP. WMI support for this kind of thing varies depending on Exchange version (2000 has some, 2003 has a lot, 2007 has none, 2010 has none).
Chris
ASKER
This is what I needed thanks!
Open in new window