Hi,
I'l like use the cmdlet get-mailboxstatistics -identity MailboxGuid but it doesn't work on a disconnected mailbox.
If I want find if a mailbox is in disconnected state, the only way that I know is lunch the command:
get-mailboxdatabase |Get-MailboxStatistics | Where {$_.DisconnectDate -ne $null} |fl displayname,MailboxGuid
Why can't I use get-mailboxstatistics -identity with the same mailboxguid that I find using the long comand?
I obtain this error:
The specified mailbox "c31ad197-6e72-4389-b367-a1c4d57488d2" doesn't exist.
+ CategoryInfo : NotSpecified: (0:Int32) [Get-MailboxStatistics], ManagementObjectNotFoundException
+ FullyQualifiedErrorId : FE0FA7FF,Microsoft.Exchange.Management.MapiTasks.GetMailboxStatistics
Someone can help me? Thank you very much for the support.
I wait a reply I wish you a good day.
Sergio