交換のために使用される接続 URI は次のとおりです。
http://machineName/powershell
WSManConnectionInfo オブジェクトは、次の方法で作成されます。
WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://machineName/powershell"), "http://schemas.microsoft.com/powershell/Microsoft.Exchange", ExchangeCredential)
Windows に接続するために使用される uri は
http://machineName:5985/wsman
WSManConnectionInfo オブジェクトは、次の方法で作成されます。
WSManConnectionInfo connectionInfo = new WSManConnectionInfo(new Uri("http://machineName:5985/wsman"), "http://schemas.microsoft.com/powershell/Microsoft.PowerShell", credential);
Exchange と Windows の接続 URI に違いがあるのはなぜですか?