Skip to content

Commit 52ee5ff

Browse files
committed
Fixed line
1 parent 46586c7 commit 52ee5ff

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Create a VM with [az vm create](/cli/azure/vm?view=azure-cli-latest#az-vm-create
3434
az vm create \
3535
--resource-group myResourceGroup \
3636
--name myVM \
37-
--image Canonical:UbuntuServer:16.04-LTS:latest
37+
--image Canonical:UbuntuServer:16.04-LTS:latest \
3838
--size Standard_D2S_V3 \
3939
```
4040

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Azure PowerShell module is used to create and manage Azure resources from th
1414

1515
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1616

17-
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
17+
[!INCLUDE [cloud-shell-powershell.md](../../../includes/cloud-shell-powershell.md)]
1818

1919
## Create a resource group
2020

@@ -37,7 +37,7 @@ New-AzVM -Name MyVm -Credential $cred -ResourceGroupName MyResourceGroup -Image
3737

3838
It will take a few minutes for your VM to be deployed.
3939

40-
## Create a Key Vault
40+
## Create a Key Vault configured for encryption keys
4141

4242
Azure disk encryption stores its encryption key in an Azure Key Vault. Create a Key Vault with [New-AzKeyvault](/powershell/module/az.keyvault/new-azkeyvault). To enable the Key Vault to store encryption keys, use the -EnabledForDiskEncryption parameter.
4343

articles/security/azure-disk-encryption-windows-powershell-quickstart.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The Azure PowerShell module is used to create and manage Azure resources from th
1414

1515
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
1616

17-
[!INCLUDE [cloud-shell-try-it.md](../../includes/cloud-shell-try-it.md)]
17+
[!INCLUDE [cloud-shell-powershell.md](../../../includes/cloud-shell-powershell.md)]
1818

1919
## Create a resource group
2020

@@ -29,15 +29,14 @@ New-AzResourceGroup -Name "myResourceGroup" -Location "EastUS"
2929
Create an Azure virtual machine with [New-AzVM](/powershell/module/az.compute/new-azvm). You must supply credentials to the cmdlet.
3030

3131
```azurepowershell-interactive
32-
$securePassword = ConvertTo-SecureString 'AZUREuserPA$$W0RD' -AsPlainText -Force
33-
$cred = New-Object System.Management.Automation.PSCredential ("azureuser", $securePassword)
32+
$cred = Get-Credential
3433
35-
New-AzVM -Name MyWinVm -Credential $cred -ResourceGroupName MyResourceGroup -Image win2016datacenter -Size Standard_D2S_V3
34+
New-AzVM -Name MyVm -Credential $cred -ResourceGroupName MyResourceGroup -Image win2016datacenter -Size Standard_D2S_V3
3635
```
3736

3837
It will take a few minutes for your VM to be deployed.
3938

40-
## Create a Key Vault
39+
## Create a Key Vault configured for encryption keys
4140

4241
Azure disk encryption stores its encryption key in an Azure Key Vault. Create a Key Vault with [New-AzKeyvault](/powershell/module/az.keyvault/new-azkeyvault). To enable the Key Vault to store encryption keys, use the -EnabledForDiskEncryption parameter.
4342

0 commit comments

Comments
 (0)