- Hands-On Networking with Azure
- Mohamed Waly
- 74字
- 2021-06-24 18:41:22
Adding address space to a virtual network using PowerShell
To add an address space to a virtual network, you need retrieve the virtual network first and store it in a variable by running the following cmdlet:
$VNet = Get-AzureRMVirtualNetwork -ResourceGroupName PacktPub -Name PSVNet
Then, you can add the address space by running the following cmdlet:
$VNet.AddressSpace.AddressPrefixes.Add("10.1.0.0/16")
Finally, you need to save the changes you have made by running the following cmdlet:
Set-AzureRmVirtualNetwork -VirtualNetwork $VNet
推薦閱讀
- .NET Core 2.0 應(yīng)用程序高級調(diào)試:完全掌握Linux、macOS和Windows跨平臺(tái)調(diào)試技術(shù)
- 流式系統(tǒng)
- 網(wǎng)頁制作教程
- HBase不睡覺書
- IP語音通信原理、設(shè)計(jì)及組網(wǎng)應(yīng)用
- 巧學(xué)巧用Dreamweaver CS6、Flash CS6、Fireworks CS6網(wǎng)站制作
- 中文版Dreamweaver CC基礎(chǔ)培訓(xùn)教程
- 計(jì)算機(jī)網(wǎng)絡(luò)
- 監(jiān)控平臺(tái)解密:IT系統(tǒng)風(fēng)險(xiǎn)感知和洞察
- OpenStack云計(jì)算基礎(chǔ)架構(gòu)平臺(tái)技術(shù)與應(yīng)用
- Instant Edublogs
- 現(xiàn)代網(wǎng)絡(luò)控制技術(shù)及應(yīng)用
- 計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)及應(yīng)用
- 軟件定義網(wǎng)絡(luò):SDN與OpenFlow解析
- JavaScript+jQuery前端開發(fā)基礎(chǔ)教程(微課版)