[Cmdlet] Remotely enable WinRM


Here is a little Cmdlet that will remotely enable and start WinRM so you can PSRemote a specific computer.
The Cmdlet will check the connection to the target computer, then it will start the “Remote Registry” service, modify the registry, Start the WinRM service and try to restore the “Remote Registry” service to its previous configuration.

Leave a Reply

Your email address will not be published. Required fields are marked *