Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Exchange 2007 StorageGroups/Databases

Posted on 2011-04-21
4
Medium Priority
?
329 Views
Last Modified: 2012-05-11
Is there a power shell one line command that can tell me all the mailboxes on a particular exchange database?

I want to find all the users on say Mailbox Database 4.

Thanks
0
Comment
Question by:techgenious
  • 2
4 Comments
 
LVL 58

Accepted Solution

by:
tigermatt earned 1500 total points
ID: 35442446
There's a -Database parameter on the Get-Mailbox cmdlet for exactly this purpose.
Get-Mailbox -Database <DB Name>

Open in new window

You can use ServerName\DB Name (if you have multiple mailbox servers) or ServerName\Storage Group Name\DB Name instead of simply the name.

-Matt
0
 

Author Closing Comment

by:techgenious
ID: 35484543
The command was partially correct
0
 
LVL 58

Expert Comment

by:tigermatt
ID: 35485578
wynnie2,

>> The command was partially correct

I fully respect your opinion, but I am a little confused, because I had every confidence I had answered your question with a single-line command for collecting the data you wanted.

For my own future reference, I wonder if you could let me know what the issue was with the Get-Mailbox -Database command?

-Matt
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
In this article, I will demonstrate that how to do a PST migration from Exchange Server to Office 365. This method allows importing one single PST, or multiple PST's at once.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question