Some of the things I have done or not done, spent time on or not spent time, liked or not liked, tested or not tested, used hours on or just minutes on, changed or not changed, started to enjoy or changed my mind about, started and finished or started but not finished, found out or not found out yet, could be stored here.
It’s better to do one thing, than to think about two things.
Connect to Azure using Powershell (Module -Name Az must be installed)
# Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
# Install-Module -Name Az -Scope CurrentUser -Repository PSGallery -Force
$rg = “testit2-rg”
Get-AzResource -ResourceGroupName $rg
AZ Powershell Reference
Connect to Azure from Az CLI (must be installed) using Git Bash (must be installed) :
# If that does not work, go to Portal.azure.com, Azure Active Directory, Properties and you will see the tenant id, cp it
az login –tenant The-tenant-id-we-copied
az resource list –resource-group rg
AZ CLI Reference
More stuff on the next page…