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
36
36
![ Icon to launch the Cloud Shell from the Azure portal] ( ../Cloud-Shell/media/overview/portal-launch-icon.png )
37
37
38
38
1. Execute the following command to register the feature for your subscription
39
+
40
+ ### [ Azure PowerShell] ( #tab/azure-powershell )
39
41
40
42
```powershell
41
43
Register-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
42
44
```
45
+
46
+ ### [Azure CLI](#tab/azure-cli)
47
+
48
+ ```azurecli
49
+ az feature register --name EncryptionAtHost --namespace Microsoft.Compute
50
+ ```
51
+
52
+ ---
43
53
44
54
1. 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 )
45
57
46
58
```powershell
47
59
Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
48
60
```
49
-
61
+
62
+ ### [Azure CLI](#tab/azure-cli)
63
+
64
+ ```azurecli
65
+ az feature show --name EncryptionAtHost --namespace Microsoft.Compute
66
+ ```
67
+
68
+ ---
50
69
51
70
Sign in to the Azure portal using the [ provided link] ( https://aka.ms/diskencryptionupdates ) .
52
71
You can’t perform that action at this time.
0 commit comments