• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 10913
  • 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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
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.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

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