Try: az vm stop --resource-group <your-resource-group> --name <your-vm-name> --skip-shutdown
The skipShutdown
flag is specifically designed for situations where a VM needs to be quickly powered off, and the risk of data loss or corruption can be accepted
I have a VM in East US that went unresponsive, because of this I attempted to stop and start the VM. I tried both the Azure Portal and the CloudShell with Stop-AzureRmVM -Force, but neither seems to work. The machine seems to be stuck in
Ajay Singh Moltra
135
Reputation points
I have a VM in East US that went unresponsive, because of this I attempted to stop and start the VM. I tried both the Azure Portal and the CloudShell with Stop-AzureRmVM -Force, but neither seems to work. The machine seems to be stuck in
Accepted answer
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
1 additional answer
Sort by: Most helpful
-
Kamil Krawczyk 235 Reputation points
2024-07-22T09:58:59.21+00:00