Hi,
I am trying to use the following command:
Get-Mailbox -Filter "Database -eq 'Mailbox Database C'"
but I receive no results? There is a mailbox database called Mailbox Database C on the server with mailboxes in it.
According to the article at http://technet.microsoft.com/en-us/library/bb738155.aspx
The database is a filterable property of the mailbox object.
I know you cannot use -filter and -database together, and this is why I wish to include the 'database' property in the filter statement, so that I can use the filter parameter on a particular mailbox database.
I have tried other methods such as piping the results of the Get-mailbox -database "Database name" with no success. I can pipe and then use the where parameter, but I fear this may not be as effecient once scaled to large numbers of mailboxes.
Shaun