Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

how to connect to a powershell uri on exchange server out of the server's domain

$
0
0

Hi, I have got some coding tasts these days . By using system.automation.managementdll , I should complete some management action to Exchange 2010.In my code , I use a WSMANConnection instance to initial a runspace or a runspacepool.Firstly I run the code on a CAS server for testing and everything is OK.But now I am going to complete more functions.I hope the code can run correctly on my own computer wich has not join the server's domain.

I have set the trusted hosts.And set all auth mode to be true.

But when I use basic auth mode, it says:"unencrypted connection is not allowed".And default(Negotiate) mode : "access denied". And creSSP mode :"not allowed".

Anyone can help me?


On Learning Csharp.


Viewing all articles
Browse latest Browse all 7132

Trending Articles