Skip to content

Commit 2106a57

Browse files
author
Cynthia Nottingham
committed
Password
1 parent af7af20 commit 2106a57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/virtual-machines/windows/quick-create-cli.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ az group create --name myResourceGroup --location eastus
4343

4444
Create a VM with [az vm create](/cli/azure/vm). The following example creates a VM named *myVM*. This example uses *azureuser* for an administrative user name.
4545

46-
You must change the value for `--admin-password` or it will fail. Change it to a password that meets the [password requirements for Azure VMs](/azure/virtual-machines/windows/faq#what-are-the-password-requirements-when-creating-a-vm
47-
). The user name and password will be used later, when you connect to the VM.
46+
You will need to supply a password that meets the [password requirements for Azure VMs](/azure/virtual-machines/windows/faq#what-are-the-password-requirements-when-creating-a-vm
47+
). Using the example below, you will be prompted to enter a password at the command line. You could also add the the `--admin-password` parameter with a value for your password. The user name and password will be used later, when you connect to the VM.
4848

4949
```azurecli-interactive
5050
az vm create \
5151
--resource-group myResourceGroup \
5252
--name myVM \
5353
--image win2016datacenter \
54-
--admin-username azureuser
54+
--admin-username azureuser
5555
```
5656

5757
It takes a few minutes to create the VM and supporting resources. The following example output shows the VM create operation was successful.

0 commit comments

Comments
 (0)