Operations

Use Run Command to run scripts on your VM

Use Run Command to run scripts on your VM

Manage your VM by running PowerShell script straight from the Azure Portal.

Erlend Rushfeldt
I started my previous blog by introducing Azure Run Command as a feature to run Powershell and Bash scripts on VMs straight from the Azure Portal. In this blog I’m gonna dive deeper into the feature and show a real life example of how to use it. The two versions of Run Command Something I didn’t mention in my last blog is that there are actually two different versions of Run Command.
VM operations in Azure without RDP

VM operations in Azure without RDP

How do you manage your VMs in Azure without needing to RDP to them?

Erlend Rushfeldt
The “Traditional” way to manage servers was to RDP or SSH into them and apply the changes you needed to do. And this was regarded as safe to do (Not by everyone of course) since you usually already were inside the office or datacenter. But when your servers are in another datacenter or even on the other side of the world, what can you do then? You can just open up RDP for your IP-address or a whole range of IP-addresses, but it is not recommended.