Power shell connectivity issue

rated by 0 users
This post has 1 Reply | 1 Follower

Not Ranked
Posts 1
sooraj123 Posted: 05-04-2012 7:42 AM

Hi..

I installed a fresh copy of windows 2008 server R2 and enabled powershell using the following commands..

Enable-PSRemoting  

Set-Item WSMan:\localhost\Client\TrustedHosts * 

Restart-Service winrm 

After that I can connect to the local machine using the command "Enter-PSSession 192.168.1.230"

But I can't connect to it from any other machine using the same command..

Is any other configuration changes needed for it

any help would be appreciable

Thanks in advance

Sooraj

 

 

Top 25 Contributor
Posts 296
Microsoft MVP
Top Contributor

By default remoting is configured to only use computer names NOT IP addresses

if you want to use IP addresses follwo the steps in

HOW TO USE AN IP ADDRESS IN A REMOTE COMMAND

this can be found in

get-help about_remote_troubleshooting

Page 1 of 1 (2 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.