Skip to main content
/
PowerShell
/
Retrieve number of mailboxes per database in Exchange Server 2010
Retrieve number of mailboxes per database in Exchange Server 2010
- 0 views
Powershell
Ex2010
started by
anonymous
on 07 Aug 12
#1
anonymous
on 07 Aug 12
(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}}
(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}}
...
Cancel
To Top
Start a New Topic »
« Back to the PowerShell group
Start a New Topic
oder
(Get-MailboxDatabase) | Select-Object Name,@{Name="Number of users";Expression={(Get-Mailbox -Database $_.name).Count}}