Skip to content

Commit 27d7709

Browse files
Update tutorial-manage-data-disk.md
remove incorrect section 2 from detach data disk ------- cc: @roygara GitHub Issue: https://github.com/MicrosoftDocs/azure-docs/issues/83367
1 parent 359eb8c commit 27d7709

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

articles/virtual-machines/windows/tutorial-manage-data-disk.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -451,14 +451,6 @@ You can detach a data disk from a VM when you want to attach it to a different V
451451
-Name $azVMName
452452
```
453453
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-
462454
1. Next, detach the disk from the VM with the `Remove-AzVMDataDisk` cmdlet.
463455
464456
```azurepowershell-interactive

0 commit comments

Comments
 (0)