File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
articles/virtual-machines Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -36,17 +36,33 @@ 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
+ ```
43
52
44
53
1. Confirm that the registration state is ** Registered** (takes a few minutes) using the command below before trying out the feature.
54
+
55
+ ### [ Azure PowerShell] ( #tab/azure-powershell )
45
56
46
57
```powershell
47
58
Get-AzProviderFeature -FeatureName "EncryptionAtHost" -ProviderNamespace "Microsoft.Compute"
48
59
```
49
-
60
+
61
+ ### [Azure CLI](#tab/azure-cli)
62
+
63
+ ```azurecli
64
+ az feature show --name EncryptionAtHost --namespace Microsoft.Compute
65
+ ```
50
66
51
67
Sign in to the Azure portal using the [ provided link] ( https://aka.ms/diskencryptionupdates ) .
52
68
You can’t perform that action at this time.
0 commit comments