psremoting setselector to listen on 2 ip from total of 4


hi :)

i trying configure powershell remoting on server have 4 ip address want listener listen on 2.

command is: new-wsmaninstance winrm/config/listener -selectorset @{address="ip:10.0.0.1";transport="http"}

but when try add 1 more ip in same command

new-wsmaninstance winrm/config/listener -selectorset @{address="ip:10.0.0.1, 192.168.0.1";transport="http"}

i'm error.

what correct command line ?

thank's

best regards

nenad

try:

new-wsmaninstance winrm/config/listener -selectorset @{address="ip:10.0.0.1", "ip:192.168.0.1";transport="http"}


grant ward, a.k.a. bigteddy



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Windows server 2012 r2 inplace upgrade failed

ADMT Computer Migration Failures

Failed to delete the test record dcdiag-test-record in zone test.com