Azure Shots: Run Commands in VM from Portal
1 min readSep 11, 2020
Sometimes because of some issues, you can not get inside your virtual machine to check the issue. However you can run your commands from Azure Portal and check the basic stuff there. It works well with Windows and Linux machines.
To run commands, go to the VM and select Run command from Operations blade. In Linux machines you’ll see RunShellScript and in Windows it will be RunPowerShellScript and few more options.
Select the option to write script and here you can run the commands on the machine.