How to run scripts in your Azure VM by using Run Command 🔧

Thomas Maurer
Thomas Maurer
52.5 هزار بار بازدید - 3 سال پیش - In this video, we are
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.

🔧 Links:

Blog How to run scripts in your Azure VM by using Run Command https://techcommunity.microsoft.com/t...
What's new in PowerShell 7 https://www.thomasmaurer.ch/2020/03/w...
How to Install and Update PowerShell 7 https://www.thomasmaurer.ch/2019/07/h...
Azure PowerShell Invoke-AzVMRunCommand https://docs.microsoft.com/powershell...
Azure CLI: az vm run-command https://docs.microsoft.com/cli/azure/...
Learn more about running PowerShell Scripts against Azure VMs https://www.thomasmaurer.ch/2020/11/h...

📺 Agenda:

0:00 Intro
0:45 Azure VM Run Command
1:48 Run Scripts on Azure VMs from the Azure Portal
6:02 Run Scripts using PowerShell and Cloud Shell against Azure virtual machines
9:26 Run Scripts against multiple VMs using a PowerShell script
23:54 Wrap up
3 سال پیش در تاریخ 1399/12/17 منتشر شده است.
52,538 بـار بازدید شده
... بیشتر