Dear All,
I am facing some issues in terms of PSremoting.
On the Windows Server R2 with PowerShell version 4.0 I have run the fallowing command:
I did
Both ports 5985 for domain and private profiles on the Windows 7 machine are opened.
When I try to run Test-WSMan I got the fallowing error:
Can someone please advise what am I doing wrong or help out with the possible solution?
thanks in advance.
I am facing some issues in terms of PSremoting.
On the Windows Server R2 with PowerShell version 4.0 I have run the fallowing command:
PS C:\Users\lp73779> winrm quickconfig WinRM service is already running on this machine. WinRM is already set up for remote management on this computer.Just to be sure I also run
Enable-PSRemoting -forceThe inbound rules have been created on the firewall and are active.
I did
Enable-PSRemoting -forceon the Windows client with PowerShell version 4.0 and I get following output:
WinRM is already set up to receive requests on this computer. Set-WSManQuickConfig : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2" Machine="localhost"><f:Message><f:ProviderFault provider="Config provider" path="%systemroot%\system32\WsmSvc.dll"><f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2" Machine="EFR04CW-0002.xgds.com"><f:Message>Unable to check the status of the firewall.</f:Message></f:WSManFault></f:ProviderFault></f:Message></f:WSManFault> At line:1 char:1+ Set-WSManQuickConfig -Force+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand
Both ports 5985 for domain and private profiles on the Windows 7 machine are opened.
When I try to run Test-WSMan I got the fallowing error:
Test-WSMan : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859023" Machine="efr04-sd01.xgds.com"><f:Message>The WinRM client received an HTTP status code of 403 from the remote WS-Management service. </f:Message></f:WSManFault> At line:1 char:1+ Test-WSMan EFR04CW-0002+ ~~~~~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo : InvalidOperation: (EFR04CW-0002:String) [Test-WSMan], InvalidOperationException+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand
Can someone please advise what am I doing wrong or help out with the possible solution?
thanks in advance.