Powershell: Connect to Exchange Server

This will let you access an Exchange server through Powershell from a client computer.  Just replace “exchsvr.domain.local” with the appropriate server name for your environment.

$UserCredential = Get-Credential
Set-Executionpolicy Unrestricted
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://exchsvr.domain.local/PowerShell/ -Authentication Kerberos -Credential $UserCredential
Import-PSSession $Session -DisableNameChecking

The first step will require you to enter your Domain Admin account credentials.  
The second step allows the scripts from the remote system to run.  For some reason, they aren’t signed.

When you finish, if you want to secure your system’s execution policy, simply type:

Set-ExecutionPolicy Restricted