c# - Microsoft's url for the Exchange powershell schema is not valid anymore -


I am trying to create a remote connection for an exchange powers hosted on IIS 8.5 - Windows Server 2012 R2 .

Here is my code:

  var connInfo = new WSManConnectionInfo (new user ("https: // xxx / PowerShell"), "http://schemas.microsoft .com / powershell / Microsoft.Exchange ", credentials);  

It looks like Microsoft's Schema URL is no longer valid. If I have navigated, then I have this:

  The resource you are looking for has been removed, its name has been changed, or is temporarily unavailable.  

And when I try to open my connection, I get this error:

  Connecting to a remote server failed with the following error message: WinRM client Received an HTTP Bad Request Status (400), but due to failure in remote service No other information was included about  

Is it possible to change the URL? I was trying to find a topic about it, but I could not find any change ...

Schema Yuri does not have to be 'valid' in this sense that you should not be able to navigate for it. I know I'm not understanding it properly, but it's a reference more than a legitimate location

The error you are receiving is actually referring to Yuri for your Exchange server. If you are not connecting to an Exchange server then connection error will occur.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -