[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Powershell 2.0 & WinRM: Is there a way to test whether a system's remoting is enabled or not?

Posted on 2011-04-25
4
Medium Priority
?
460 Views
Last Modified: 2012-06-21
Hi all,

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?

Thanks!
0
Comment
Question by:stuckp1
  • 2
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
Bryan Butler earned 2000 total points
ID: 35468983

Would this work?

http://powershell.com/cs/blogs/tobias/archive/2011/03/09/analyzing-networks-with-powershell.aspx

"just identify online systems that are ready and available for remote access."
0
 

Author Comment

by:stuckp1
ID: 35470335
Hi developedtester,
My colleague and I will give your work a try. It looks promising!
I'll let you know in a day or so.
Regards
0
 
LVL 16

Expert Comment

by:Bryan Butler
ID: 35470763
Great.  Hope it works and if not, it should be relatively easy to get working.
0
 

Author Closing Comment

by:stuckp1
ID: 35475583
Many thanks for pointing out that link!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question