Don't have the WMF installed correctly where?
I'm going through a Cisco's switch. My PC (mypc) is in domain, same with others PC, on which I had used
invoke-command.
invoke-command -scriptblock {test-path c:\windows}
returns True statement.
In case of Enter-PsSession
MyPC, I'm getting access is denied message, even if I have the highest permissions in domain.
On my (local) PC I'm execute this
PS C:\Users\adm> Test-WsMan
wsmid : http://schemas.dmtf.org/wbem/
ProtocolVersion : http://schemas.dmtf.org/wbem/
ProductVendor : Microsoft Corporation
ProductVersion : OS: 0.0.0 SP: 0.0 Stack: 3.0
But if I'm perfoming this command on an another compute (mypc in this case), I got this:
Test-WsMan : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2150859023" Machine="mypc.mydomain.com"><f:Message>
the
WinRM client received an HTTP status code of "504" from the remote WS-Management service. </f:Message></f:WSManFault>
line:1 char:1
+ Test-WsMan -ComputerName mypc
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (wsvt-22664:String) [Test-WSMan], InvalidOperationException
+ FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand
-
Edited by
Net Ranger
Thursday, May 21, 2015 9:38 AM