Table of Contents |
---|
Page Tree | ||||||
---|---|---|---|---|---|---|
| ||||||
...
Intro
My notes on VM computes
...
Run scripts in Azure and non-Azure machines.
Can be run using Azure portal, Azure CLI, REST API, PowerShell, webhook.
Each machine can host one Hybrid Runbook Worker reporting to one Automation account; you can't register the hybrid worker across multiple Automation accounts.
A hybrid worker can only listen for jobs from a single Automation account.
Serial console
...
Code Block |
---|
$vm = Get-AzVM -ResourceGroupName myResourceGroup -Name myVM Update-AzVM -ResourceGroupName myResourceGroup -VM $vm -IdentityType SystemAssigned |
...
ReDeploy a Virtual Machine
If you have been facing difficulties troubleshooting Remote Desktop (RDP) connection or application access to Windows-based Azure virtual machine (VM), redeploying the VM may help.
When you redeploy a VM, Azure will shut down the VM, move the VM to a new node within the Azure infrastructure, and then power it back on, retaining all your configuration options and associated resources.
After you redeploy a VM, all the data that you saved on the temporary disk and Ephemeral disk is lost.
The dynamic IP addresses associated with virtual network interface are updated.