To enable Basic Authentication on the PowershellVirtualDirectory and enable PSRemoting, run the following cmdlets in Exchange Management Shell on your local Exchange server:
Start > Microsoft Exchange Server > Exchange Management Shell

Get-PowerShellVirtualDirectory -Server <CASServerName> | Set-PowerShellVirtualDirectory -BasicAuthentication $true

Get-PowerShellVirtualDirectory

Enable-PSRemoting -Force

Enable-PSRemoting