Search notes:

PowerShell module az

Installing

if ($psVersionTable.psEdition -eq 'Desktop' -and (get-module -name azureRM -listAvailable)) {
    write-warning -Message('Having both the AzureRM and Az modules installed on PowerShell Desktop at the same time is not supported.')
} else {
   install-module -name az -allowClobber -scope currentUser
}
Apparently, the repository is untrusted:
You are installing the modules from an untrusted repository. If you trust this repository, change its InstallationPolicy value by running the
 Set-PSRepository cmdlet. Are you sure you want to install the modules from 'PSGallery'?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "N"): Y

Connecting to Azure and doing «stuff»

connect-azAccount
get-azResourceGroup | where-object resourceGroupName -match rene

Azure Context Objects

An Azure PowerShell Context Object («Azure Context») stores subscription and authentication information. They're used if someone has access to more than one subscription.
A context consists of

Index