Skip to content

Commit f7e90eb

Browse files
authored
Merge pull request #179037 from DerekHerman-MSFT/patch-14
Update tutorial-manage-data-disk.md
2 parents 9268a01 + 27d7709 commit f7e90eb

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)