Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to set up winrm using IP address instead of the computer name.

The computer in question is only

I have only been able to set winrm up for a computer in the same domain like this:

winrm s winrm/config/client '@{TrustedHosts="demox"}

The computer I want to connect to is not accessible by computer name.

share|improve this question

You should be able to add the machine by IP:

Installation and Configuration for Windows Remote Management

share|improve this answer

You can add the IP address to the TrustedHost list:

winrm s winrm/config/client '@{TrustedHosts=""}'

Using this I managed to connect to a Windows 2003 server in a different domain, which I could connect to using either, the NETBIOS or FQN name yesterday.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.