0

エラー:入力し-PSSessionコマンドは機能していない、ファイアウォールのポート5985が開いている

Enter-PSSession : Connecting to remote server sadcm0000081 failed with the following error message : WinRM cannot 
complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the 
network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By 
default, the WinRM firewall exception for public profiles limits access to remote computers within the same local 
subnet. For more information, see the about_Remote_Troubleshooting Help topic. 
At line:1 char:1 
+ Enter-PSSession -ComputerName sadcm0000081 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidArgument: (sadcm0000081:String) [Enter-PSSession], PSRemotingTransportException 
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed 

テスト-WSN出力:

Test-Wsman : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859046" Machine="SADCM0000078.adc 
.corpintra.net"><f:Message>WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer i 
s accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. B 
y default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet. </f:Messa 
ge></f:WSManFault> 
At line:1 char:1 
+ Test-Wsman -ComputerName sadcm0000081 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    + CategoryInfo   : InvalidOperation: (sadcm0000081:String) [Test-WSMan], InvalidOperationException 
    + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand 
+0

DNSになりますか? sadcm0000081の作業のnslookupはありますか? IPで試してみることはできますか?システム上でPSリモート機能が有効になっている場合は、telnet sadcm0000081 5985 が最も重要であるかどうかを確認してください。 – VGSandz

答えて

0

管理コンソールで-PSRemotingを有効にPowerShellの実行中に最初に試してみてください。 その後、Windowsファイアウォールのリモート管理のルールに従います。

関連する問題