I am new to Azure and would like to understand how to connect to an ARM virtual machine and how to do this through a runbook. I need to be able to connect and run commands on services on that machine.
I have found this: https://gallery.technet.microsoft.com/scriptcenter/Remoting-into-Azure-ARM-ebcec7c3#content
but I do not understand the exact steps and configuration.