Manually connecting to exchange 2010 using windows remote powershell

$user = Get-Credential

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

Import-PSSession $session