Skip to main content

Home/ PowerShell/ Retrieve number of mailboxes per database in Exchange Server 2010
anonymous

Retrieve number of mailboxes per database in Exchange Server 2010 - 0 views

Powershell Ex2010

started by anonymous on 07 Aug 12
  • anonymous
     
    (Get-MailboxDatabase) | ForEach-Object {Write-Host $_.Name (Get-Mailbox -Database $_.Name).Count}

    oder

    (Get-MailboxDatabase) | Select-Object Name,@{Name="Number of users";Expression={(Get-Mailbox -Database $_.name).Count}}

To Top

Start a New Topic » « Back to the PowerShell group