I have created a VM in azure resource manager portal using powershell. How to configure WinRM in VM for remote access using powershell. Thanks in advance.
1 Answers
3
votes
This can be done by adding a custom script extension when deploying the VM. An example can be found here. To add this to an existing VM, just copy the ConfigureWinRM.ps1, makecert.exe and winrmconf.cmd files from the same quickstart folder and execute the powershell script.