Tip
To retrieve the name of your subscription run the following command:
Get-AzSubscription | Out-GridView
$SubscriptionName = "<Subscription Name>"
-
Provide the name of your resource group:
$resourceGroupName
-
Provide the name of your new VNet:
$vnetName
-
Provide a name for a location (e.g.
westeurope
):$location
Tip
Useful cmdlets: New-AzVirtualNetwork
, New-AzVirtualNetworkSubnetConfig
, Set-AzVirtualNetwork
- Network security rule
allow-SSH-from-internet
should allow an inbound SSH connection from the internet to thejumpbox
subnet. - Network security rule
allow-RDP-from-jumpbox
should allow an inbound RDP connection from thejumpbox
subnet to themanagement
subnet.
Tip
Useful cmdlets: New-AzNetworkSecurityRuleConfig
, New/Get-AzNetworkSecurityGroup
, Get/Set-AzVirtualNetworkSubnetConfig
, Get/Set-AzVirtualNetwork