Skip to content

Commit 30eed5e

Browse files
authored
Update virtual-machines-move-limitations.md
Added -VolumeType all to PowerShell and Bash commands for disabling Azure Disk Encryption in line with best practice as referenced here: https://docs.microsoft.com/en-us/azure/virtual-machines/windows/disk-encryption-windows#disable-encryption
1 parent 3d04177 commit 30eed5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-resource-manager/management/move-limitations/virtual-machines-move-limitations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ The following scenarios aren't yet supported:
2525
You can't move a virtual machine that is integrated with a key vault to implement [Azure Disk Encryption for Linux VMs](../../../virtual-machines/linux/disk-encryption-overview.md) or [Azure Disk Encryption for Windows VMs](../../../virtual-machines/windows/disk-encryption-overview.md). To move the VM, you must disable encryption.
2626

2727
```azurecli-interactive
28-
az vm encryption disable --resource-group demoRG --name myVm1
28+
az vm encryption disable --resource-group demoRG --name myVm1 --volume-type all
2929
```
3030

3131
```azurepowershell-interactive
32-
Disable-AzVMDiskEncryption -ResourceGroupName demoRG -VMName myVm1
32+
Disable-AzVMDiskEncryption -ResourceGroupName demoRG -VMName myVm1 -VolumeType all
3333
```
3434

3535
## Virtual machines with Marketplace plans

0 commit comments

Comments
 (0)