- Hands-On Networking with Azure
- Mohamed Waly
- 174字
- 2021-06-24 18:41:22
Azure PowerShell
PowerShell is commonly used with most Microsoft products, and Azure is not less important than any of these products.
Mainly, you can use Azure PowerShell cmdlets to manage Azure Networking tasks, however, you should be aware that Microsoft Azure has two types of cmdlets, one for the ASM model, and another for the ARM model, which we will be using throughout this book.
The main difference between cmdlets of the ASM model and the ARM model is, there will be an RM added to the cmdlet of the current portal.
For example, if you want to create an ASM virtual network, you would use the following cmdlet:
New-AzureVirtualNetwork
But for the ARM model, you would use the following:
New-AzureRMVirtualNetwork
By default, you can use Azure PowerShell cmdlets in Windows PowerShell, but you will have to install its module first.