CLI/Powershell
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az account list
az account list-locations
az account set --subscription "YOUR SUBSCRIPTION"
az network vnet subnet show -g YOUR-RG -n YOUR-SUBNET --vnet-name YOUR-VNET -otsv
az resource list
Get-AzureRmResource
az vm stop --resource-group YOUR-RG --name YOUR-VM-NAME --skip-shutdown
az vm start --resource-group YOUR-RG --name YOUR-VM-NAME
Get-AzureADObjectByObjectId -ObjectIds a183a290-4fa6-4a8f-b406-033429ec7119
Last modified 3yr ago