Setup WinRM on multiple computers remotely

Welcome Forums General PowerShell Q&A Setup WinRM on multiple computers remotely

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 years, 8 months ago.

  • Author
    Posts
  • #24323

    Participant
    Points: 0
    Rank: Member

    First of all thanks for the help in advance.

    My challenge is this: I would like to from my computer in PowerShell with administrator rights enable WinRM on remotecomputers / servers, so I can use PSsession among other thins.

    So first question: Is it safe within a domain to enable WinRM permanently?

    I found this https://gallery.technet.microsoft.com/scriptcenter/Enable-PSRemoting-Remotely-6cedfcb0
    But I can't get it to Work or probably I don't know how to use these features?

    3. If there is a better way, a more simple way to do this without making changes to GPO's and all that stuff I would be very happy.

    Again thanks for the help.

  • #24330

    Keymaster
    Points: 1,704
    Helping HandTeam Member
    Rank: Community Hero

    Yes, it is safe. It's the default in newer versions of Windows, in fact.

    I'd suggest reviewing "Secrets of PowerShell Remoting," which is a free ebook here. It covers various ways to enable Remoting in bulk, including Group Policy and other "recommended" practices. Unfortunately, "all that stuff" tends to be the right way to do it, since that's the way the product is designed to work.

    We're probably not going to be a lot of help with a TechNet script, though – you'd want to contact that script's author if you're having problems with it.

The topic ‘Setup WinRM on multiple computers remotely’ is closed to new replies.