Connecting to remote server failed with the following error message : The WinRM service received a HTTP redirect message redirecting the client but the location URL is invalid. For more information, see the about Remote Troubleshooting Help topic. It was
running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true'.
James