Thursday, December 31, 2015

[EX2010] Connect Remote EMS to Exchange Server




  • Enable the Windows Integrated authentication in the Powershell virtual directory




    • Use your network logon account to connect to a remote Exchange 2010 server


$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://FQDNofExchangeServer>/PowerShell/ -Authentication Kerberos

Import-PSSession $Session



    • Use a user account that you specify to connect to a remote Exchange 2010 server


$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://FQDNofExchangeServer/PowerShell/ -Authentication Kerberos -Credential $UserCredential

Import-PSSession $Session