Powershell


Exchange 2003 to 2010 Migration Roll back

Now as days one of the major migration project handled by exchange administrators are Moving mailboxes from Exchange 2003 to Exchange 2010. When doing this, we should have a proper roll back plan, when we required to move back the mailboxes migrated to Exchange 2010 back to 2003. Recently one of the customer has requested me to include […]

Exchange 2013 PowerShell cmdlets

I have ran the first PowerShell cmdlet in Microsoft Exchange 2013 ‘Exchange Management Shell’. PowerShell for Exchange 2013 is based on PowerShell v3. PowerShell version 3.0 has come with new functionalities and simplicity. See an example: Exchange 2010 we have used the following cmdlet  Get-Mailbox | Where {$_.Name –like administrator} In Exchange 2013 PowerShell has introduced a simple […]

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 http://Servername.domain.com/PowerShell/ -Authentication Kerberos 4.  […]

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 […]

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 […]