The term 'az' is not recognized as the name of a cmdlet, function, script file, or operable program
"Az" in the context of PowerShell probably means the Az module, with cmdlets like Add-AzAccount
etc.
"az" is the cross-platform CLI, which is not a PowerShell module.
For those who get these error in local while trying to access AZ, try this command below.
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
You can get more details about installation @ https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest&tabs=azure-powershell