Skip to content

Commit 88cd76e

Browse files
committed
update
1 parent 000ad09 commit 88cd76e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/load-balancer/quickstart-create-basic-load-balancer-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To access your app on the Internet, you need a public IP address for the load ba
3939
$publicIP = New-AzureRmPublicIpAddress `
4040
-ResourceGroupName "myResourceGroupLB" `
4141
-Location "EastUS" `
42-
-AllocationMethod "Dynamic" `
42+
-AllocationMethod "Static" `
4343
-Name "myPublicIP"
4444
```
4545
## Create Basic Load Balancer
@@ -246,7 +246,7 @@ Set an administrator username and password for the VMs with [Get-Credential](htt
246246
$cred = Get-Credential
247247
```
248248

249-
Now you can create the VMs with [New-AzureRmVM](/powershell/module/azurerm.compute/new-azurermvm). The following example creates two VMs and the required virtual network components if they do not already exist:
249+
Now you can create the VMs with [New-AzureRmVM](/powershell/module/azurerm.compute/new-azurermvm). The following example creates two VMs and the required virtual network components if they do not already exist. During the VM creation below example, the previously created NICs are associated with the VMs since they are assigned the same virtual network (*myVnet*) and subnet (*mySubnet*):
250250

251251
```azurepowershell-interactive
252252
for ($i=1; $i -le 2; $i++)

0 commit comments

Comments
 (0)