Complete the code to install the Azure PowerShell module.
Install-Module -Name [1]The correct module to install for Azure PowerShell is Az. It is the latest and recommended module for managing Azure resources.
Complete the code to connect to your Azure account using PowerShell.
Connect-AzAccount -[1]The Credential parameter allows you to specify the user credentials to connect to Azure.
Fix the error in the command to list all Azure resource groups.
Get-AzResourceGroup | Where-Object [1] {$_.Location -eq 'eastus'}
The -FilterScript parameter is used with Where-Object to specify the condition script block.
Fill both blanks to create a new Azure resource group in PowerShell.
New-AzResourceGroup -Name [1] -Location [2]
The -Name parameter specifies the resource group name, and -Location specifies the Azure region like 'eastus'.
Fill all three blanks to update the Azure PowerShell module and then import it.
Update-Module -Name [1] Import-Module [2] -[3]
You update the 'Az' module, then import the same module with the -Force parameter to reload it.