Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Azure icon
Labs

Installing the Azure Az Module for PowerShell Core

The Az module in PowerShell Core is necessary for managing Azure resources. In this hands-on lab, we will show how to install the Az module and perform some basic commands for managing resources in Azure.

Azure icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 11, 2025
Duration
45m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Log in to the VM
    1. Open a new terminal.
    2. Copy the public IP address, given to you along with this hands-on lab.
    3. In the terminal, enter ssh cloud_user@<PUBLIC_IP_OF_THE_VM>.
    4. Once logged in, enter pwsh to start the PowerShell prompt.
  2. Challenge

    Install the Az PowerShell Module
    1. Install the module:

      Install-Module -Name Az -AllowClobber -Scope CurrentUser
      
    2. Type Y to continue installing from the PowerShell gallery.

  3. Challenge

    Connect the Azure Account and Create a VM
    1. From the PowerShell prompt, enter the command Connect-AzAccount to connect to Azure.

    2. Go to https://microsoft.com/devicelogin, and enter the code provided in the terminal.

    3. Enter the username and password provided with this hands-on lab.

    4. Enter the following to create a new Azure VM:

      New-AzVM `
      -ResourceGroupName '<RESOURCE_GROUP_NAME_PROVIDED_IN_LAB>' `
      -Name 'myvm1234' `
      -Location 'westus' `
      -VirtualNetworkName '<VIRTUAL_NETWORK_NAME_PROVIDED_IN_LAB>' `
      -SubnetName 'default' `
      -SecurityGroupName '<NSG_PROVIDED_WITH_LAB>' `
      -PublicIpAddressName 'myvm1234pubip' `
      -OpenPorts 80,3389
      
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight