How to allow PowerShell to connect to Exchange Server over IP address
You need to be able to connect with PowerShell to your on-premises Exchange Server by using its IP address instead of its FQDN or hostname.
In order to allow PowerShell to connect remotely over an IP address, PowerShell Virtual Directory in IIS must be configured for basic authentication. Follow the steps below to do that:
- Run Exchange Management Shell on the Exchange machine to which you want to connect over the IP address.
- Execute the cmdlet below:
Set-PowerShellVirtualDirectory -Identity "PowerShell (Default Web Site)" -BasicAuthentication $true
|Related products:||CodeTwo Backup for Exchange, CodeTwo Backup for Office 365, CodeTwo Exchange Migration, CodeTwo Office 365 Migration|
|Last modified:||February 12, 2019|
|Created:||November 10, 2016|