Wednesday, September 28, 2022

Get Disconnected or Disabled mailboxes in Exchange server using PowerShell in all the databases

Get Disconnected or Disabled mailboxes in Exchange server using PowerShell in all the databases 


Get-MailboxDatabase | Get-MailboxStatistics | Where { $_.DisconnectReason -eq “Disabled” } | ft DisplayName,Database,DisconnectDate

No comments:

Post a Comment