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

Posted on 2011-04-25
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?

Question by:stuckp1
    LVL 16

    Accepted Solution


    Would this work?

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

    Author Comment

    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.
    LVL 16

    Expert Comment

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

    Author Closing Comment

    Many thanks for pointing out that link!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
    This article is in response to a question ( here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now