Thursday, March 27, 2014

Connecting Exchange 2013 Using Windows Powershell



Connecting Exchange 2013 Powershell Locally using Windows Powershell

Open the Windows Powershell and load the snaps-in

Add-PSSSnapin Microsoft.ex*

Connecting Exchange 2013 Powershell remotely using Windows Powershell

Get-ExecutionPolicy
Set-ExecutionPolicy Unrestricted
$Credentials = Get-Credential
$ExSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri `http://ex2013.lab.com/powershell/?SerializationLevel=Full' -Credential $Credentials -Authentication Kerberos
Import-PSSession $ExSession

No comments:

Post a Comment

The blog is written to the share the knowledge mainly on Microsoft Exchange Server and other Microsoft product that experienced on day-to-day life.