The Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
Get list of commands in csv file
Get-Command | Export-Csv -Path .\AzCommands.csv
clear #List of resource group az group list #Create VM using CLI PS /home/cloud> az vm create ` >> --name LabVM1 ` >> --resource-group 72-ed951e1f-accessing-and-using-the-azure-cloud-sh ` >> --image UbuntuLTS ` >> --admin-username azureuser ` >> --generate-ssh-keys #Vm list az vm list #Get Resource Group List Get-AzResource #Get Storage account Get-AzStorageAccount #Get VM Get-AzVM #Get Azure resource by resource type Get-AzResource | ft #remove Azure VM (Provide Azure VM Name and ResourceGroup) Remove-AzVM
Reference
- Azure CLI Overview: https://docs.microsoft.com/en-us/cli/azure/?view=a
- Azure CLI Reference: https://docs.microsoft.com/en-us/cli/azure/reference-index?view=azure-cli-latest
- Azure PowerShell Overview: https://docs.microsoft.com/en-us/powershell/azure/overview?view=azps-1.6.0
- Quickstart for Bash in Azure Cloud Shell: https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart
- Quickstart for PowerShell in Azure Cloud Shell: https://docs.microsoft.com/en-us/azure/cloud-shell/quickstart-powershell
The leading Azure Development and its solutions are well explained in this article. The mobile development along with Flutter App development and growing technologies like blockchain application development and IoT Development provide your business with the leading solutions to achieve better growth and scale.
ReplyDeleteReally nice and interesting post. I was looking for this kind of information and enjoyed reading this one. Keep posting. Thanks for sharing.
ReplyDeleteProduct Engineering Services Company
App Modernization Services
Enterprise App Development Services
Mobile App Development Services
Low Code Development Services
Mendix Development Services
Cloud Migration Services
Digital Assurance Services
Software testing services