• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10835
  • Last Modified:

List of mailbox in Storage Group

To All,

How to show mailboxes in Storage Group in Exchange 2007?
0
reysrivera
Asked:
reysrivera
  • 3
  • 2
1 Solution
 
caelwindCommented:
Install Microsoft powershell abd run the following command.

get-mailbox | export-csv c:\scripts\test.csv
0
 
BSonPoshCommented:
I cant test this, but this seems more likely

Get-StorageGroup <name> | Get-mailbox
0
 
reysriveraAuthor Commented:
BSonPost:

I issue this command got this error, see below

Get-StorageGroup -Identity "pmvrmail01\10th SG" | get-mailbox

Error Msg:
Get-Mailbox : The operation could not be performed because object 'PMVRMAIL01\10th SG' could not be found on domain controller XYZ.
At line:1 char:61
+ Get-StorageGroup -Identity "pmvrmail01\10th SG" | get-mailbox <<<<
[PS] C:\Windows\System32>
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
reysriveraAuthor Commented:
If I issue cmd "Get-StorageGroup" and I'll get all my Storage Group. If I issue "Get-Mailbox" I'll list all my mailbox but That's not what I want to do. I want a list of mailboxes in certail Storage Group.
0
 
BSonPoshCommented:
This should do it

Get-StorageGroup -Identity "pmvrmail01\10th SG" | Get-MailboxDataBase | get-mailbox

0
 
reysriveraAuthor Commented:
PERFECT!!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now