PowerShell Remoting to Azure VM

In order to connect to an Azure Windows VM (tested image was 2016 core with Containers), perform the following: On the Azure VM, add a firewall rule to allow remote management traffic inbound: New-NetFirewallRule -Name PSRemote -DisplayName ‘PS Remoting’ -Enabled true -Profile any -Direction Inbound -LocalPort 5985 -Protocol TCP For Nano server, run the following command: []: … [Read more…]