File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
articles/virtual-machines Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,36 @@ You must enable the feature for your subscription before you use the EncryptionA
3636 ![ Icon to launch the Cloud Shell from the Azure portal] ( ../Cloud-Shell/media/overview/portal-launch-icon.png )
3737
38381. Execute the following command to register the feature for your subscription
39+
40+ ### [ Azure PowerShell] ( #tab/azure-powershell )
3941
4042 ```powershell
4143 Register-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
4244 ```
45+
46+ ### [Azure CLI](#tab/azure-cli)
47+
48+ ```azurecli
49+ az feature register --name EncryptionAtHost --namespace Microsoft.Compute
50+ ```
51+
52+ ---
4353
44541. Confirm that the registration state is ** Registered** (takes a few minutes) using the command below before trying out the feature.
55+
56+ ### [ Azure PowerShell] ( #tab/azure-powershell )
4557
4658 ```powershell
4759 Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
4860 ```
49-
61+
62+ ### [Azure CLI](#tab/azure-cli)
63+
64+ ```azurecli
65+ az feature show --name EncryptionAtHost --namespace Microsoft.Compute
66+ ```
67+
68+ ---
5069
5170Sign in to the Azure portal using the [ provided link] ( https://aka.ms/diskencryptionupdates ) .
5271
You can’t perform that action at this time.
0 commit comments