Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to set up winrm using IP and 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

2 Answers 2

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="10.1.2.1"}'

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

 
discard

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.