$user = Get-Credential

$session = New-PSSession -Configurationname Microsoft.Exchange –ConnectionUri http://servername/powershell -Credential $user

Import-PSSession $session