Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Windows Remoting between two workgroup servers

$
0
0

Is it possible to use powershell version 2.0 Windows Remoting between two servers that are in a workgroup, specifying the hostname rather than IP, without using the -credential parameter?

As it stands it appears that this is possible but only when localadmin accounts are identical, although I have not found any documentation to back this up.

My scenario

SERVER01 and SERVER02 have same named localadmin users with same passwords. (THIS WORKS!)

SERVER03 and SERVER04 have same named localadmin users with different passwords but I have created users with same name added to local admin groups on each server. Logged in as that twinned user and executed the remote command (THIS DOESN'T WORK!)

The simple Command I used is as follows;

invoke-command -ComputerName hostname -ScriptBlock { param ( $myarg ) ping.exe $myarg } -ArgumentList localhost


www.facebook.com/RGF76


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>