Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
675 views
in Technique[技术] by (71.8m points)

windows - Powershell Remoting with Different Subnet is not working

We have enabled PowerShell remoting for windows server, We have also imported Certificate for https communication, We are able to Enter-PSSession -Computer ABC.Company.Com -USESSL But same when we try to perform session with different subnet it is not working,

We are able to telnet server on port 5986 and 5985, but still we are not able to

Enter-PSSession : Connecting to remote server ABC.Company.COM failed with the following error message : The WinRM client
sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually
returned by a HTTP server that does not support the WS-Management protocol. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName ABC.Company.COM
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (ABC.Company.COM:String) [Enter-PSSession], PSRemotingTransportException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

What can be the issue, other than port communication do we have to check something,

On both server windows firewall is turned Off

Please let know any further information on this,

Thanks

question from:https://stackoverflow.com/questions/65858010/powershell-remoting-with-different-subnet-is-not-working

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...