How to run scripts in your Azure VM by using Run Command
In this video, we are going to have a look at how to run scripts in your Azure VM by using Run Command. You can access your Azure virtual machine (VM) in multiple ways, like SSH or RDP. However, if you have issues with the RDP or SSH network configuration, the Run Command feature is another option. Run Command can run a PowerShell or shell script within an Azure VM remotely by using the VM agent. This scenario is especially useful when you need to troubleshoot operating system network configurations or user access configuration. We are going to have a look at how you can run scripts against multiple Azure virtual machines (VMs) by using PowerShell and the Invoke-AzVMRunCommand feature.
https://techcommunity.microsoft.com/t5/video-hub/how-to-run-scripts-in-your-azure-vm-by-using-run-command/m-p/2193917#M1106 https://techcommunity.microsoft.com/t5/video-hub/how-to-run-scripts-in-your-azure-vm-by-using-run-command/m-p/2193917#M1106 2021-03-17 12:23:59Z