Setup WinRM on multiple computers remotely

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?

  1. 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.

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.