2.1.4 Explore the Learn Sandbox

Exploring the learn sandbox.

Task 1: PowerShell CLI

Enter Get-Date to get the date. Enter the Azure-specific command az version to check the CLI version.

Task 2: BASH CLI

Enter bash to switch to the bash CLI. Enter the date command to get the date, Get-Date is PowerShell specific and will not work. Use az upgrade to try to run an update for the CLI.

Task 3: Azure CLI Interactive Mode

Enter az interactive to enter interactive mode. This is more like an IDE and provides autocompletion, command descriptions and examples. Once initialized, the arrow keys or tab can autocomplete commands. This does not require the az prefix on commands but it can be used. The version and upgrade commands in this mode will work the same as before. Use exit to exit the Azure CLI.

Task 4: Use the Azure Portal

The link provided will allow access to the Azure web interface on the free subscription.

Last updated