There are times we can’t log in to the VM due to several reasons. Azure provided a way to run commands on the VM without login in using SSH.
From the run command section, we can run a shell script and Ipconfig information of that VM
If we need to find disk info, just go to the
- run shell script section
- and in the Linux shell script box
- Enter –> df -h
- Click on run
- output will be displayed below
Below screenshot provides an understanding on how to use run command