Exchange 2010:- Export Mailbox using a date range with PowerShell

Exporting mailboxes is great but what if you only wanted information for a certain period as you need it for whatever reason, legal, manager, etc. Well using the Exchange Management Shell (EMS) you can run the following command to export the data: null $Users = Get-Content “C:\Users\User1\Desktop\doc.csv” foreach ($User in Read more…

Exchange 2010/2013/2016:- Check Mailbox Database Copy status in various ways with 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. Read more…

Exchange 2010:- Limit the number of outbound connections from a HUB server with PowerShell

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 Read more…