Not sure if this is the correct place to be posting this question but I'm
having problems with a server where WinRM is configured. I used
enable-psremoting to do this. However when I try to remote connect to this
server I get the following
Enter-PSSession : Connecting to remote server failed with the following
error message : <f:WSManFault xmlns:f="http://s
chemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2147749890"
Machine="xxxxxxxxxxx"><f:Message></f:Message></f:WSManFault> For more
information, see the about_Remote_Troubleshooting Help topic.
Any help much gratefully received as I cannot find anything related to the
error code
JonG
Marco
"JonnyG" <Jon...@discussions.microsoft.com> wrote in message
news:AB5A17FE-FD9C-48E2...@microsoft.com...
output from $PSVersionTable on both ends
Name Value
---- -----
CLRVersion 2.0.50727.3603
BuildVersion 6.0.6002.18111
PSVersion 2.0
WSManStackVersion 2.0
PSCompatibleVersions {1.0, 2.0}
SerializationVersion 1.1.0.1
PSRemotingProtocolVersion 2.1
JonG
"Marco Shaw [MVP]" wrote:
> .
>
Marco
"JonnyG" <Jon...@discussions.microsoft.com> wrote in message
news:AB5A17FE-FD9C-48E2...@microsoft.com...
I haven't loooked at it yet, so I don't know if it has any troubleshooting
information, but I seem to remember it being almost 40 pages, so I'd assume
it would have a section on how to find problems.
Marco
"JonnyG" <Jon...@discussions.microsoft.com> wrote in message
news:AB5A17FE-FD9C-48E2...@microsoft.com...
Jon
"Marco Shaw [MVP]" wrote:
> .
>
The TrustedHosts list can contain a comma-separated list of computer
names, IP addresses, and fully-qualified domain names. Wildcards are
permitted. Only members of the Administrators group on the computer
have permission to change the list of trusted hosts on the computer.
To view the list of trusted hosts, use the following command:
get-item wsman:\localhost\client\trustedhosts
To add all computers to the list of trusted hosts, use the following
command:
set-item wsman:localhost\client\trustedhosts *
The following command adds all of the computers in the OtherDomain
domain to the list of trusted hosts:
set-item wsman:localhost\client\trustedhosts *.otherdomain.com
To add the names of particular computers to the list of trusted hosts,
use the following command format:
set-item wsman:\localhost\client\trustedhosts server01.otherdomain.com
To add the IP addresses of particular computers to the list of trusted
hosts, use the following command format:
set-item wsman:\localhost\client\trustedhosts 192.168.200.10
You can also use Concatenate parameter to add new entries without
overwriting existing ones.
-aleksandar
http://powershellers.blogspot.com
On Mar 11, 2:48 pm, "Marco Shaw [MVP]" <marco.shaw@NO_SPAMgmail.com>
wrote:
> Make sure to have a read of this:http://powershell.com/cs/blogs/news/archive/2010/03/03/administrator-...
JonG
"alexandair" wrote:
> .
>
If you get a WSManFault with an error code of 2147749890 when
remoting try adding
"-SessionOption (New-PSSessionOption -NoMachineProfile)"
Thanks that option now allows me to connect. Guess the question now is why
does not loading the profile resolve the problem.
JonG
"Dan Mork" wrote:
> .
>