AZ-104: Prerequisites for Azure administrators
Figured I'd do something somewhat close to a 100 days of code, but with some of the content and material I'm learning for Azure. Specifically in regards to the Azure 104 exam, Azure Administrator. I've already started to work through some of the modules and sections, but I will be posting some of the snippets and key takeaways I think might benefit myself, or any others who may end up stumbling across this resource.
Currently I am working on taking on ~1 module / ~1 hour, a day; starting on Monday and eneding on Friday. This way it will leave the weekend free for whatever shenanigans I might be up to. The first module I've finished is the AZ-104: Prerequisites for Azure administrators. I will be heavily focusing on the Azure Powershell portions of this entire learning path as that is what I am most familiar with.
This module covers the following sections:
If you are planning on doing any bit of automation with resource creation in Azure the following sections were pretty solid, they even allow you to use a sandbox so your Azure account won't be charged.
A few of the very specific takeaways I've learned are:
You will need the az module for Powershell if you want to do local changes to your Azure subscription(s)
Download the AZ powershell module by running
import-module -name az
Additionally you will need to run the command
connect-azaccount
within Powershell, once your module is installed, this allows you to authenticate to AzureIf you're unable to run scripts, this may be due to the script execution policy enforced on your endpoint, this can be modified by running
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser
At the time of writing this document, MSFT recommends using Powershell version 7.1.3 or higher. You can check your psh version by running
$psversiontable.psversion
The following might help to verify if your module is installed properly:
The initial results from get-module
should provide a similar output to the one below where you see the names of Azure modules and a truncated list of commands for each module.
You may also run get-command -module <specific module name> | select-object -property name
to find commands for the specific module. Example: get-command -module az.aks | select-object -property name
.