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:
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:
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 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 take the DAG member out of maintenance mode .\StopDagServerMaintenance.ps1 -serverName…
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 Mailbox to PST New-MailboxExportRequest -Mailbox [email protected] -FilePath “\\path\user.pst” Import Mailbox…
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 -Identity ‘[email protected]’ -User ‘[email protected]’ -AccessRights Reviewer -whatif Getting Mailbox Folder…
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 to Database DB01 Create CSV file having the email address of…
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” } | Set-CalendarProcessing -AllowConflicts:$false Get Status of Meeting Rooms Calendars Get-CalendarProcessing…
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 > c:\path\file.txt Get Distribution Group information Get-DistributionGroup -Identity ‘[email protected]’ |…
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, Status, MessageCount, LastRetryTime, LastError -autosize Move Messages to Another Working…
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 | get-messagetrackinglog -sender [email protected] -Start “11/15/2012 12:00:00 AM” -End “11/16/2012…