How to Rename Virtual Machine Managed Disks on Microsoft Azure through PowerShell?
I tried with,
Update-AzureRmDisk
But I'm not able to change the name,
How can I do that?
How to Rename Virtual Machine Managed Disks on Microsoft Azure through PowerShell?
I tried with,
Update-AzureRmDisk
But I'm not able to change the name,
How can I do that?
There is no command the change the managed disk directly. So you cannot do that with one command.
But there is always another way to achieve that. And the solution follow five steps below:
The solution we lay out here is based on ARM template. You could accomplish something similar using PowerShell or Command Line Interface (CLI) scripts. For more details, see Renaming Virtual Machine Disks.