How to get Exchange Server build/version numbers

How to get Exchange server build numbers/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

DAG Management CMDlets

DAG Management PowerShell Commands Get DAG Status Get-DatabaseAvailabilityGroup <dag name> -Status | fl StartDagServerMaintenance.ps1 script to put the DAG member in maintenance mode .\StartDagServerMaintenance.ps1 -serverName <server name> StopDagServerMaintenance.ps1 script to…

Mailbox Import Export CMDlets

Mailbox Import \ Exports PowerShell Commands Export a Mailbox to PST New-MailboxExportRequest -Mailbox [email protected] -FilePath “\\path\user.pst” Get Mailbox Export Requests Get-MailboxExportRequest | Get-MailboxExportRequestStatistics Remove Mailbox Export Requests Get-MailboxExportRequest | Remove-MailboxExportRequest Export…

Managing Mailbox Permissions CMDlets

Managing Mailbox Permissions PowerShell Commands Grant Send on Behalf of Permissions Set-Mailbox ‘[email protected]’ -GrantSendOnBehalfTo ‘[email protected]’ Add Editor permissions Add-MailboxFolderPermission -Identity ‘[email protected]’ -User ‘[email protected]’ -AccessRights Editor Add Reviewer permissions (what if) Set-MailboxFolderPermission…

Mailbox Move CMDlets

Exchange Mailbox Move PowerShell Commands   Move the user mailbox to Database DB01 New-MoveRequest -Identity ‘[email protected]’ -TargetDatabase “DB01” New-MoveRequest -Identity ‘[email protected]’ -TargetDatabase “DB01” -BadItemLimit 100  Move the bulk users mailbox…

Resource Rooms and Calendars CMDlets

Exchange Resource Rooms and Calendars PowerShell CMDlets Disable Double Booking of Meeting Rooms Set-CalendarProcessing -Identity ‘room’ -AllowConflicts:$false Disable Double Booking on all Meeting Rooms Get-Mailbox | where {$_.ResourceType -eq “Room” }…

Managing Groups CMDlets

Managing Exchange Groups PowerShell CMDlets Get Distribution Group Get-DistributionGroup -identity ‘[email protected]’ | fl Get Distribution Group Members and export to a text file Get-DistributionGroupMember -Identity ‘[email protected]’ | ft name, primarysmtpaddress…

Exchange Mail Queue Management CMDlets

Exchange Mail Queue Management PowerShell CMDlets Get Message Queue information Get-transportserver | Get-Queue –SortOrder: -MessageCount Get Queue Details Get-Queue –Server <server name> | Sort-Object -Property Messagecount | FT Identity, DeliveryType, NextHopDomain,…

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…

Exchange Event Logs CMDlets

Exchange Event Log Powershell CMDlets To view only the Exchange-related services that are currently running Get-Service *exch* | Where-Object {$_.Status -eq ‘Running’} The following example retrieves the services from every…

How to verify safe senders and blocked senders

Powershell Command: Get-MailboxJunkEmailConfiguration -Identity “[email protected]” Result: