Skip to content

Commit 78a788c

Browse files
authored
Merge pull request #50889 from sandervandevelde/patch-8
Correction on resoursegroup names
2 parents 95df36c + e44d279 commit 78a788c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/bastion/bastion-create-host-powershell.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This section helps you create a new Azure Bastion resource using Azure PowerShel
3333
```azurepowershell-interactive
3434
$subnetName = "AzureBastionSubnet"
3535
$subnet = New-AzVirtualNetworkSubnetConfig -Name $subnetName -AddressPrefix 10.0.0.0/24
36-
$vnet = New-AzVirtualNetwork -Name "myVnet" -ResourceGroupName " myBastionRG " -Location "westeurope" -AddressPrefix 10.0.0.0/16 -Subnet $subnet
36+
$vnet = New-AzVirtualNetwork -Name "myVnet" -ResourceGroupName "myBastionRG" -Location "westeurope" -AddressPrefix 10.0.0.0/16 -Subnet $subnet
3737
```
3838

3939
2. Create a public IP address for Azure Bastion. The public IP is the public IP address the Bastion resource on which RDP/SSH will be accessed (over port 443). The public IP address must be in the same region as the Bastion resource you are creating.
@@ -45,7 +45,7 @@ This section helps you create a new Azure Bastion resource using Azure PowerShel
4545
3. Create a new Azure Bastion resource in the AzureBastionSubnet of your virtual network. It takes about 5 minutes for the Bastion resource to create and deploy.
4646

4747
```azurepowershell-interactive
48-
$bastion = New-AzBastion -ResourceGroupName " myBastionRG " -Name "myBastion" -PublicIpAddress $publicip -VirtualNetwork $vnet
48+
$bastion = New-AzBastion -ResourceGroupName "myBastionRG" -Name "myBastion" -PublicIpAddress $publicip -VirtualNetwork $vnet
4949
```
5050

5151
## Next steps

0 commit comments

Comments
 (0)