How Can We Help?

Categories

Powershell – Report sulle mailbox disconnesse

You are here:
< Back

Powershell – Report on disconnected mailboxes.

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

 

Report sulle caselle di posta disconnesse in un singolo server Exchange o in un DAG – Export csv

Report on disconnected mailboxes in a single Exchange server or DAG – Export csv

get-mailboxdatabase | Get-MailboxStatistics | ? { $_.disconnectreason } | select Database,disconnectDate, disconnectReason, DisplayName, @{label=”WindowsEmailAddress”;expression={ get-user -identity ($_).MailboxGuid.Guid | select -expandproperty WindowsEmailAddress } }