List of mailbox in Storage Group

To All,

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

Improve company productivity with a Business Account.Sign Up

x
 
BSonPoshConnect With a Mentor Commented:
This should do it

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

0
 
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
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:
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
 
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
 
reysriveraAuthor Commented:
PERFECT!!
0
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.