Skip to content

Commit eff7b79

Browse files
[Doc-a-thon] Updating disk-encryption-upgrade
Small fix in the bash code section (making it an output block type)
1 parent 6c29495 commit eff7b79

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

articles/virtual-machines/linux/disk-encryption-upgrade.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Choose the "AzureDiskEncryption" extension for Windows or "AzureDiskEncryptionFo
5858

5959
Migration from Azure Disk Encryption (with Azure AD) to Azure Disk Encryption (without Azure AD) is only available through Azure PowerShell. Ensure you have the latest version of Azure PowerShell and at least the [Azure PowerShell Az module version 5.9.0](/powershell/azure/new-azureps-module-az) installed .
6060

61-
To upgrade from Azure Disk Encryption (with Azure AD) to Azure Disk Encryption (without Azure AD), use the [Set-AzVMDiskEncryptionExtension](/powershell/module/az.compute/set-azvmdiskencryptionextension) PowerShell cmdlet.
61+
To upgrade from Azure Disk Encryption (with Azure AD) to Azure Disk Encryption (without Azure AD), use the [Set-AzVMDiskEncryptionExtension](/powershell/module/az.compute/set-azvmdiskencryptionextension) PowerShell cmdlet.
6262

6363
> [!WARNING]
6464
> The Set-AzVMDiskEncryptionExtension cmdlet must only be used on VMs encrypted with Azure Disk Encryption (with Azure AD). Attempting to migrate an unencrypted VM, or a VM encrypted with Azure Disk Encryption (without Azure AD), will result in a terminal error.
@@ -69,9 +69,7 @@ Set-AzVMDiskEncryptionExtension -ResourceGroupName <resourceGroupName> -VMName <
6969

7070
When the cmdlet prompts you for confirmation, enter "Y". The ADE version will be updated and the VM rebooted. The output will look similar to the following:
7171

72-
```bash
73-
> Set-AzVMDiskEncryptionExtension -ResourceGroupName myResourceGroup -VMName myVM -Migrate
74-
72+
```output
7573
Update AzureDiskEncryption version?
7674
This cmdlet updates Azure Disk Encryption version to single pass (Azure Disk Encryption without Azure AD). This may reboot
7775
the machine and takes 10-15 minutes to finish. Are you sure you want to continue?
@@ -99,7 +97,6 @@ RequestId IsSuccessStatusCode StatusCode ReasonPhrase
9997
True OK OK
10098
```
10199

102-
103100
> [!IMPORTANT]
104101
> The upgrade will take at least 10 - 15 minutes to complete. Do not cancel the cmdlet while the upgrade is in progress. Doing so puts the health of the VM at risk.
105102

0 commit comments

Comments
 (0)