Skip to content

CategoryPowershell

How to get Exchange Server build/version numbers

How to get Exchange server version numbers Get-ExchangeServer | ft Name,Edition,AdminDisplayVersion -autosize (or) Get-ExchangeServer | Format-List Name,Edition,AdminDisplayVersion Ref: https://docs.microsoft.com/en-us/exchange/new-features/build-numbers-and-release-dates?view=exchserver-2019

Exchange Online Mailbox Counts

Exchange Online Mailbox counts – PowerShell Command Get-exomailbox -resultsize unlimited |select DisplayName, UserPrincipalName, Alias, PrimarySmtpAddress, RecipientTypeDetails, EmailAddresses |export-csv “c:\MonthlyReport\AllMailboxescount.csv” -Notypeinformation

Message Tracking CMDlets

Exchange Message Tracking PowerShell CMDlets Search by Message ID Get-ExchangeServer | get-messagetrackinglog -MessageID “<messageID>” -Start “5/16/2012 12:01:00 AM” -End “5/16/2012 11:59:00 PM” | fl Timestamp,ClientIp,ClientHostname,ServerIp,ServerHostname,Source,EventId,MessageId, @{Name=”Recipients”;Expression={$_.recipients}},@{Name=”Recipientstatus”;Expression={$_.recipientstatus}},TotalBytes,MessageSubject,Sender,ReturnPath,MessageLantency Search by Sender Get-ExchangeServer … Continue Reading Message Tracking CMDlets