az vm repair
Setup repair VMs with copied source OS Disk to resolve issues. Azure CLI extensions reference
7 commands 1 option Its page in the Azure CLI extensions reference
Commands
createCreate a new repair VM and attach the source VM's copied OS disk as a data disk.list-scriptsList available scripts.repair-and-restoreRepair and restore the VM.repair-buttonrepair button script.reset-nicReset the network interface stack on the VM guest OS.restoreReplace source VM's OS disk with data disk from repair VM.runRun verified scripts from GitHub on a VM.Options
--vm-nameThe name of the Virtual Machine.