SOLVED: VIDEO: PowerShell Command Line to List all available Azure Products in a Specific Data Center

In this video we explain and demonstrate how to connect to Microsoft Azure and list the services that are available at a specific data center.

Azure PowerShell Commands:

What version of PowerShell do I have? – You need to be at v5

$PSVersionTable.PSVersion

Install Azure Command Line – You only need to install this once on each machine you work on

Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi

Login to Azure

az login

List the Available Products in A Specific Azure Data Center:

az vm list-skus -l westus2 --out table

 

Published by
Ian Matthews

This website uses cookies.