A. Vista and Server 2008 support the WS-Management and Windows Remote Shell. To enable connectivity to a machine, run the Winrm Quickconfig command. For example,

C:\>winrm quickconfig<br>
WinRM is not set up to allow remote access to this machine for management.<br>
The following changes must be made:<p>

Create a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this
machine.<br>
Enable the WinRM firewall exception.</p><p>

Make these changes \[y/n\]?</p>

When you choose “y,” the following will occur:

WinRM has been updated for remote management.<p>

Created a WinRM listener on HTTP://* to accept WS-Man requests to any IP on this machine.<br>
WinRM firewall exception enabled.</p>

On the client, use the Winrs command with the -r switch to identify the remote system, then the remote command you want to run. For example,

winrs -r:savdaldc01 hostname <br>
savdaldc01<p>

hostname<br>
savdalwks10</p>

Notice that my local hostname is savdalwk10, but when I run the same command to the remote savdaldc01, the hostname response is the correct remote name.