Hi ManU,
Result of
Get-MailboxDatabase | Get-MailboxStatistics | ? {$_.DisconnectReason -ne $null} | ft Displayname, Database, Disconnectreason -Auto
is
DisplayName Database DisconnectReason
----------- -------- ----------------
exchange e.j.. journalingBox Mailbox Database 0767329207 Disabled
when when I did "Enable-Mailbox" on it after "Disable-Mailbox".
I created another AD User journalingBox2@domain.com and ran
Connect-Mailbox -Identity 'journalingBox' -Database 'db name' -User 'journalingBox2'
Result is:
Mailbox "journalingBox" doesn't exist on database "db name".
+ CategoryInfo : NotSpecified: (journalingBox:StoreMailboxIdParameter) [Connect-Mailbox], MdbAdminTaskExc
eption
+ FullyQualifiedErrorId : [Server=RB-EX2,RequestId=efeb59ff-9a13-4242-998f-01806cb76d15,TimeStamp=18.05.2015 09:36
:06] [FailureCategory=Cmdlet-MdbAdminTaskException] 314B555F,Microsoft.Exchange.Management.MapiTasks.ConnectMailbo
x
+ PSComputerName : fqdn
Note: journalingBox was the mailbox which was disabled and enabled.