Archives

Tag Archive for: ‘Exchange 2010’

In an Exchange 2010 DAG, you may want to disable database activation on another mailbox server that holds a copy but maintain the replication and replay activities. Below is the command to do so: Suspend-MailboxDatabaseCopy -Identity DB2MBXSERVER1 -ActivationOnly

I was asked by an Exchange Administrator who was new to Exchange 2010 to see if I could set up a simple script that would check the state of the Exchange databases that may affect it failing over in the event of an outage. The following script simply checks the state of each database copy …

In Exchange 2010, applying impersonate permissions to a service account is achieved by using Role-Based Access Control (RBAC). See the below command to grant the permissions: New-ManagementRoleAssignment –Name:FriendlyAssignmentName –Role:ApplicationImpersonation –User:serviceAccount

We recently came across an issue where we were unable to restore a deleted Public Folder. We attempted this using ExFolders, MFCMapi and Outlook and received the following errors: Exfolders: MFCMapi: Outlook: Solution: Installing Service Pack 2 for Exchange 2010 allowed us to complete the restore with MFCMapi.

We have set up DAG monitoring scripts for one of our customers which tell us the status of all the mailbox copies and we noticed that one of the database copies had been stuck in a status of “Crawling” for over a day. To rectify this problem we did the following: 1. Log onto the …

If you want to run any of the Exchange PowerShell commands from a standard PowerShell environment then you simply need to add in the following line in order to run it as if it is an Exchange Management Console: Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010 For example, the script below will output the size of the Exchange Databases to …

Here is a PowerShell command that can be used to fetch the mailbox sizes that are over a certain amount of total item size: get-mailbox | Get-MailboxStatistics | where {$_.TotalItemSize -ge 600MB} The script above can be simply amended to the amount of MB or GB in size that you want to find out. So, …