Advertisements

Category: Exchange 2013 PowerShell

There are many ways in PowerShell to check the mailbox database copy status in Exchange, here are some examples from the Exchange Management Shell (EMS): Blanket check.Per DAG check.Per Server check. Get-MailboxDatabaseCopyStatus * The above command runs across all servers and databases in the environment. Below is the next example. Get-MailboxDatabaseCopyStatus -Identity dag1* The above […]

Advertisements
Read more

In Exchange you will do loads of Export requests to PST but over time this list grows and when you eventually want to find an export request or remove a server you can’t because it still has the export requests. To find the export requests, you can run a single command: Get-mailboxexportrequest -status completed This […]

Read more

In Exchange, you can throttle the number of connections that a HUB Transport Server can have open to a remote domain, the default value for the field “MaxPerDomainOutboundConnections” is 20. To change the value, you can run a simple command from the Exchange Management Shell(EMS): Set-TransportServer -Identity HUB1 -MaxPerDomainOutboundConnections 10 Don’t forget to restart the […]

Read more

With mailbox moves, you do get the few that fail and instead of updating each one with the -BadItemLimit switch you can do this one liner command to update them all before resuming them, here is the command: Get-MoveRequest | Set-MoveRequest -BadItemLimit 500 -AcceptLargeDataLoss Give it a few minutes to update and resume the failed […]

Read more