You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/windows/quick-create-cli.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,21 +27,22 @@ To open the Cloud Shell, just select **Try it** from the upper right corner of a
27
27
28
28
## Create a resource group
29
29
30
-
Create a resource group with the [az group create](/cli/azure/group) command. An Azure resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *myResourceGroup* in the *eastus* location. Replace the value of the `resourcegroup` variable as needed.
30
+
Create a resource group with the [az group create](/cli/azure/group) command. An Azure resource group is a logical container into which Azure resources are deployed and managed. The following example creates a resource group named *myResourceGroup* in the *West US 3* location. Replace the value of the variables as needed.
31
31
32
32
```azurecli-interactive
33
-
resourcegroup="West US 3"
34
-
az group create --name myResourceGroup --location $resourcegroup
33
+
resourcegroup="myResourceGroupCLI"
34
+
location="West US 3"
35
+
az group create --name $resourcegroup --location $location
35
36
```
36
37
37
38
## Create virtual machine
38
39
39
40
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. Replace the values of the variables as needed.
40
41
41
-
You will be prompted to supply a password that meets the [password requirements for Azure VMs](./faq.yml#what-are-the-password-requirements-when-creating-a-vm-
42
+
You'll be prompted to supply a password that meets the [password requirements for Azure VMs](./faq.yml#what-are-the-password-requirements-when-creating-a-vm-
42
43
).
43
44
44
-
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.
45
+
Using the example below, you'll be prompted to enter a password at the command line. You could also add the `--admin-password` parameter with a value for your password. The user name and password will be used when you connect to the VM.
45
46
46
47
```azurecli-interactive
47
48
vmname="myVM"
@@ -61,12 +62,12 @@ It takes a few minutes to create the VM and supporting resources. The following
0 commit comments