Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,509 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Remove-AzVirtualNetworkSubnetConfig -Name backendSubnet -VirtualNetwork
> $virtualNetwork
> $virtualNetwork | Set-AzVirtualNetwork
Getting error in above script . can some one help me .
thanks in adavance
Maybe this helps:
$vnet = Get-AzVirtualNetwork -Name <NameOfTheVirtualNetwork> -ResourceGroupName <NameOfTheResourceGroup>
Remove-AzVirtualNetworkSubnetConfig -Name <NameOfTheSubnet> -VirtualNetwork $vnet
$vnet | Set-AzVirtualNetwork
(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)
Regards
Andreas Baumgarten