List of mailbox in Storage Group

To All,

How to show mailboxes in Storage Group in Exchange 2007?
Who is Participating?

Improve company productivity with a Business Account.Sign Up

BSonPoshConnect With a Mentor Commented:
This should do it

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

Install Microsoft powershell abd run the following command.

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

Get-StorageGroup <name> | Get-mailbox
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

reysriveraAuthor Commented:

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>
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.
reysriveraAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.