Advertisement
goezler

EX__Show Disconnected Mailboxes

Jan 21st, 2021
252
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. $dbs = Get-MailboxDatabase
  2. $dbs | foreach {Get-MailboxStatistics -Database $_.DistinguishedName} | where {$_.DisconnectReason -eq "Disabled"} | Format-Table DisplayName,Database,DisconnectDate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement