WinRM Configuration And Usage RRS feed

  • Question

  • Hi ,

    Please tell me how to make use of WinRM. Below are my requirements.

    1. I want to use this to run some scripts remotely(from central server).

    2. what are the prerequisites to setup the end to end connection? .

    3. also looking for password less authentication (something like i do not want to enter my credential every time) to run tasks remotely.

    4. Please clarify is this very similar to Psexec ???

    I have noticed the WinRM is up by default.



    Monday, August 14, 2017 5:45 AM

All replies

  • Hi,
    1. Winrm is used to manage/run scripts remotely.So your requirement can be fulfilled

    2.you need to have powershell version 2.0 minimum.And The port  5985 and 5986 should be open between the central servers and clients .Default HTTP port is 5985, and the default HTTPS port is 5986.

    3. you can login to a central server with credential with have admin privilege  to run with with out entering the passwords.Or you can use Certificate (password-less) based authentication in WinRM

    4.The purpose of wirn is similar to psexec. How ever psexec uses RPC.
    enable winrm.

    1)run winrm quickconfig from command
    2)or enable psremoting from powershell

    Monday, August 14, 2017 7:37 AM