Hands-On LabBeginner

Deploying a Linux VM with Networking using Azure PowerShell

Deploy a Linux VM with networking using Azure PowerShell. Learn cmdlets, variables, and pipelines while creating NSGs, VNets, and NICs in Cloud Shell.

60 minEstimated time
4Guided steps
AutoVerification
IsolatedSandbox
Deploying a Linux VM with Networking using Azure PowerShell

Lab overview

Azure PowerShell is a command-line tool that lets you manage Azure resources using PowerShell cmdlets. It follows a verb-noun pattern (like New-AzVM or Get-AzResourceGroup) that makes commands readable and discoverable, and works with objects rather than plain text for powerful data manipulation.

In this lab, you will start by learning how Azure PowerShell itself works, finding cmdlets, reading their help, and passing objects between them with the pipeline. You will then put those techniques to work building a complete networking stack and deploying a Linux virtual machine onto it, finishing with an SSH connection to confirm the deployment.

Objectives

Upon completion of this beginner level lab, you will be able to:

  • Read the verb-noun structure of Azure PowerShell cmdlets and discover new ones with Get-Command and Get-Help
  • Work with cmdlet output as objects using variables, dot notation, Get-Member, and the pipeline
  • Create networking infrastructure including NSGs, VNets, subnets, public IPs, and NICs using Azure PowerShell
  • Deploy a Linux virtual machine with SSH key authentication
  • Verify deployments and connect to VMs using SSH

Who is this lab for?

This lab is designed for:

  • IT professionals transitioning to cloud administration
  • Azure certification candidates preparing for AZ-104 or AZ-900 exams
  • System administrators looking to automate Azure infrastructure
  • Beginners wanting hands-on experience with Azure PowerShell

Verified against your live environment

An automated validation engine inspects your actual resources and configurations as you work. Completion means the task was performed — not multiple choice, real-world proficiency.

[CHECK] validation_activelive
Inspecting deployed resources...
Verifying configuration state...
✓ Step requirements satisfied

More labs like this

Related reading

PremiumIncluded in Premium
Duration
60 min
Steps
4

Environment

Live Cloud Environment

Every lab includes

  • Real environment, pre-credentialed
  • Automated checks on every step
  • Isolated sandbox, auto cleanup
  • AI-recommended next steps

Lab curriculum

  1. 01

    Logging into Azure Account using Azure Portal

  2. 02

    Exploring Azure PowerShell Cmdlets and the Pipeline

    1 automated check

  3. 03

    Creating the Network Infrastructure Resources

    1 automated check

  4. 04

    Deploying and Connecting to the VM

    1 automated check

Not the lab you were looking for?

Browse 150+ hands-on labs across AWS, Azure, Kubernetes, Docker, and cloud security.

Explore the catalog