Powershell 2.0 & WinRM: Is there a way to test whether a system's remoting is enabled or not?
Posted on 2011-04-25
I work on enable remoting on servers using WinRM and PowerShell 2.0.
The issue is to *prove* in a quick way (not by trying to remote in!) whether remoting has been enabled.
Why, you ask, am ruling out the "just try to remote in from another computer?" answer in advance? The reason is automation. It is a "bot" will be setting up the server, and, as part of its automated work, should run a check to see -- and *prove* -- that remoting is fully enabled.
Is there a "Test-RemotingEnabled" command?