Last updated on July 17, 2026
Create and Manage Azure VMs using PowerShell and AZ CLI
This laboratory session demonstrates the process of creating and managing Azure Virtual Machines (VMs), Resource Groups, and Storage Accounts using both PowerShell and Azure CLI. The objective is to provide hands-on experience with the deployment and administration of these key Azure components using both scripting tools.
By the end of this lab, you’ll have a comprehensive understanding of how to create, configure, and manage Azure VMs, Resource Groups, and Storage Accounts in a consistent and repeatable manner — equipping you with the skills to automate and streamline your Azure administration tasks.
What This Guide Covers
This hands-on lab walks you through managing core Azure components with both scripting tools:
- Resource Groups — Creating, configuring, and managing resource groups with PowerShell and Azure CLI
- Storage Accounts — Deploying and administering storage accounts from the command line with both tools
- Azure Virtual Machines — Creating and configuring VMs using PowerShell and Azure CLI
- VM Administration — Managing deployed VMs, including configuration changes and lifecycle operations
- Repeatable Automation — Building consistent, repeatable deployments you can script and reuse across environments
Complete Lab Index
The guide is structured into logical phases for easy implementation:
- Phase 01: Prerequisites and Tool Setup — PowerShell and Azure CLI
- Phase 02: Creating and Managing Resource Groups
- Phase 03: Creating and Managing Storage Accounts
- Phase 04: Creating Azure Virtual Machines
- Phase 05: Configuring and Managing Azure Virtual Machines
- Phase 06: Automating Repeatable Deployments
Perfect For
- Azure Administrators looking to automate and streamline day-to-day Azure administration tasks
- IT Professionals wanting hands-on experience with both PowerShell and Azure CLI
- Cloud Engineers building consistent, repeatable Azure deployments through scripting
Ready to Automate Azure Administration?
Download the complete hands-on lab and start creating and managing Azure VMs, Resource Groups, and Storage Accounts with PowerShell and Azure CLI today.
📥 Download the Azure VMs Lab Guide (PDF)
Have questions about Azure automation with PowerShell or Azure CLI? Connect with me directly through the links below!