Skip to content

Commit 13d1dbc

Browse files
Updated parameter for disabling disk encryption
--volume-type should be -VolumeType in Powershell.
1 parent 1c79d4d commit 13d1dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/security/azure-security-disk-encryption-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ You can disable encryption using Azure PowerShell, the Azure CLI, or with a Reso
409409
410410
- **Disable disk encryption with Azure PowerShell:** To disable the encryption, use the [Disable-AzVMDisk​Encryption](/powershell/module/az.compute/disable-azvmdiskencryption) cmdlet.
411411
```azurepowershell-interactive
412-
Disable-AzVMDiskEncryption -ResourceGroupName 'MyVirtualMachineResourceGroup' -VMName 'MySecureVM' [--volume-type {ALL, DATA, OS}]
412+
Disable-AzVMDiskEncryption -ResourceGroupName 'MyVirtualMachineResourceGroup' -VMName 'MySecureVM' [-VolumeType {ALL, DATA, OS}]
413413
```
414414
415415
- **Disable encryption with the Azure CLI:** To disable encryption, use the [az vm encryption disable](/cli/azure/vm/encryption#az-vm-encryption-disable) command.

0 commit comments

Comments
 (0)