Exchange 2010: Retention Tags and Policies

As the part of my research to understand the new features of Exchange 2010, I recently gone through the the study and application of Retention Policies/Tags features. I have applied the features successfully at my test mailboxes and sharing those thoughts here: I am describing the whole theory of Retention Policies/Tags at first and want to … Continue reading “Exchange 2010: Retention Tags and Policies”

Connect to Exchange Server from Windows Powershell

I have followed the following simple steps to connect to my exchange servers from my windows 7 computer to perform the daily activities: Note: There should be TCP/IP connctivity between the computer and Exchange Server 1.  Open Windows Powershell as Administrator 2.  $UserCredential = Get-Credential 3.  $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Authentication Kerberos 4.  … Continue reading “Connect to Exchange Server from Windows Powershell”

How to change Scope of the domain operation through Powershell

Lesson: Exchange 2010 SP2 The requested search root domain.local/Users’ is not within the scope of this operation. Cannot perform searches outside the scope ‘child.domain.local’. I have prompted with an error message, while performing a powershell operation in one of the child domain in the forest as follows: [PS] C:\Windows\system32>Get-MailboxDatabase ‘Database Name’ -DomainController ‘Domain Controller name’ | mailbox -ActiveSyncEnabled $False The requested … Continue reading “How to change Scope of the domain operation through Powershell”

Database copy is “failed and suspended” shown at EMC

I had come across an issue in database replication on one of the database of my DAG yesterday. The ‘Copy Status’ where shown as ‘Failed and Suspended’ as below: I have tried to ‘Activate Database Copy’, but that has failed. Then I have gone through some web research and found a Microsoft article here: … Continue reading “Database copy is “failed and suspended” shown at EMC”

How to Connect to Exchange Online (Office 365) from Windows PowerShell

I’m presenting simple steps to follow to connect to your cloud based Exchange Online organization as the part of Office 365 from Windows Powershell 1. Install Windows PowerShell and Windows Remote Management (WinRM) on your computer (Windows 7 is already equiped with the features) 2. Open Windows Powershell (Run as Administrator) and run the following … Continue reading “How to Connect to Exchange Online (Office 365) from Windows PowerShell”


How to test the health of Exchange Server services health quickly? Applies to: Exchange Server 2010 SP2 I have found a useful cmdlet Test-ServiceHealth to test whether all the Microsoft Windows services that Exchange requires on a server have started. Simply run Test-ServiceHealth and you will get the output like as below when every services … Continue reading “Test-ServiceHealth”