We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 359eb8c commit 27d7709Copy full SHA for 27d7709
articles/virtual-machines/windows/tutorial-manage-data-disk.md
@@ -451,14 +451,6 @@ You can detach a data disk from a VM when you want to attach it to a different V
451
-Name $azVMName
452
```
453
454
-1. Select the disk you want to remove with the `Get-AzDisk` cmdlet.
455
-
456
- ```azurepowershell-interactive
457
- $vm = Get-AzVM `
458
- -ResourceGroupName $azResourceGroup `
459
- -Name $azVMName
460
- ```
461
462
1. Next, detach the disk from the VM with the `Remove-AzVMDataDisk` cmdlet.
463
464
```azurepowershell-interactive
0 commit comments