3.2 Describe Azure management tools Flashcards
What is Azure portal?
It is the first page you access when logging into Azure.
What library does PowerShell AZ use for functionality?
It uses the .NET Standard library. It functions with PowerShell version 5.x 6.x 7.x
What PowerShell versions are cross-platform functional?
PowerShell 6.x and 7.x are cross-functional and can work with Windows/Linux/or macOS
What command do you run to install the PowerShell AZ module?
Install-Module -Name Az -AllowClobber
How do you install the PowerShell AZ module for only your account?
Install-Module -Name Az -AllowClobber -Scope CurrentUser
How do you connect to your Azure account once the PowerShell AZ module is installed?
Use the command
Connect-AzAccount
What command ensures that commands entered in PowerShell AZ affect other Azure Subscriptions?
Set-AzContext -Subscription “subscription_id”
How do PowerShell command syntax begin?
With a verb and an object (New, Get, Remove, Move)
How can you create an Azure Resource Group named MyRG in the South Central US region using PowerShell?
New-AzResourceGroup -Name MyRG -Location “South Central US”
How can you remove a resource group named MyRG using PowerShell?
Remove-AzResourceGroup -Name MyRG
How can you set an active subscription if you have multiple subscriptions (using PowerShell)
Set-AzContext -Subscription “subscription_id”
What is the -Force parameter used for in PowerShell?
If you cannot confirm a command by typing “y”
How do you login to Azure using the PowerShell CLI?
az login
When scripting with PowerShell or CLI, why must you include the -Force parameter?
Without this parameter, the script will not work. This parameter ensures no prompts are displayed when running a script.
What is interactive mode in the CLI and how do you access it?
Interactive mode provides you with auto-complete, scoping of commands, ect.
use the command:
az interactive