Hi,
I am trying to create a powershell report but I am not getting is all together maybe someone can help.
On my Exchange environment we have made differences by using CustomAttribute1, the mailboxes are spread over multiple Mailbox Databases. What I would like to know is per different CustomAttribute1 how many mailboxes there are on each Mailbox Database.
When I run this command:
$databases = Get-MailboxDatabase | select-object Name foreach($database in $databases) { get-mailbox -Database $database.name | Group-Object -Property:CustomAttribute1 | Select-object Name,Count }
I get the information CustomAttribute1 and Count but it I do not get the Mailbox database name attached.
Regards Ronny
-------------
Visit my Blog or follow me on
Twitter