![Hands-On Networking with Azure](https://wfqqreader-1252317822.image.myqcloud.com/cover/144/36700144/b_36700144.jpg)
上QQ阅读APP看书,第一时间看更新
Adding a service endpoint to an existing virtual network using PowerShell
Adding a service endpoint to an existing virtual network is pretty straightforward. All you need to do is run the following cmdlet:
Get-AzureRmVirtualNetwork -ResourceGroupName PacktPub -Name PSVNet | Set-AzureRmVirtualNetworkSubnetConfig -Name NSubnet -AddressPrefix "192.168.1.0/24" -ServiceEndpoint "Microsoft.Storage" | Set-AzureRmVirtualNetwork