• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Powershell Command help please

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2010] >> General >> Powershell Command help please Page: [1]
Login
Message << Older Topic   Newer Topic >>
Powershell Command help please - 30.Sep.2014 7:31:17 PM   
shannon.roberts

 

Posts: 4
Joined: 30.Jan.2012
Status: offline
I have the current script running
Get-MailboxStatistics -Database "servername" | Select DisplayName, TotalItemSize | Sort-Object TotalItemSize -Descending

However id like to incorporate the below in to one command if possible
Get-MailboxStatistics -Database "AUS-MB1" | select Country "Australia"

The reason being, i have multiple exchange servers created and not all my staff are in the same Database servername, as we have about 8 in total.

I have created the below command that shows me all my Australian mailboxes
Get-MailboxStatistics -Database "AUS-MB1" | select Country "Australia"

hence if i can get these 2 commands working together, i can get a summary of ALL my Ausrtaliam mailboxes and their mailbox sizes.

Any help would be appreciated.

Thanks
Post #: 1

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2010] >> General >> Powershell Command help please Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter