
Learn to use the AZ PowerShell module to create and manage Azure virtual machines, including installation, sign-in, resource groups, an image, data disks, resizing, and snapshots.
Install the AZ PowerShell module across Windows, macOS, and Linux, verify PowerShell version, then sign into Azure with Connect-AzAccount and manage subscriptions with Get-AzSubscription and Set-AzContext.
Connect to the virtual machine by using PowerShell to fetch the public IP from the resource group, then start a remote desktop session with the vm admin account.
Prepare a source vm for imaging by generalizing it with CIS prep, deallocating, and marking it generalized before creating an image in Azure using PowerShell.
Create an image from VM 0 1 using AC image config and AC image commands, generating the image config in East US and saving the image to your resource group.
Create an azure vm from the vm 01 image using az vm, deploying in east us to vnet vignette 0 1 subnet 0 1 with a network security group and public IP.
Learn to create a data disk with Azure PowerShell, attach it to a VM, initialize it in the OS, and use Get-AzVM, Add-AzVMDataDisk, and Update-AzVM to update the virtual machine.
Attach an existing data disk to the Azure VM by updating the VM with add-az vm data disk and disk id, then run update-az vm.
Learn how to prepare a raw data disk in the VM's OS using PowerShell by initializing, partitioning, formatting as NTFS, and assigning a drive letter labeled data disk.
Prepare to resize by listing available VM sizes on the hosting hardware cluster, note whether deallocation is needed, and set PowerShell variables to view options with Get-AzVMSize.
Resize an Azure VM with PowerShell by retrieving Get-AzVM, setting the hardware profile to DS2-V2, and updating via Update-AzVM, noting premium LRS requires S-series.
Learn Azure VM management with PowerShell: start and stop a VM using the A-Z VM and AC VM commands, remove the VM, virtual Nix disks, IP addresses, and resource group.
Learn to start and stop a VM using the AZ PowerShell module, by specifying the resource group name and VM name, and verify the VM transitions to running or deallocated.
Delete the remaining resources tied to the virtual machine by removing the network interface, os disk, data disk, and public ip address using remove-az-network-interface, remove-az-disk, and remove-az-public-ip-address commands.
Delete a resource group with Remove-AzResourceGroup in Azure PowerShell, which removes all resources it contains. Exercise caution in production; you can pipe Get-AzResourceGroup to Remove-AzResourceGroup for bulk deletions.
Initialize the configuration to create a new Azure VM from snapshot by building a VM config, setting name and size, and attaching the OS disk and network interface for New-AzVM.
Load the variables, initialize the vm configuration, and create an azure vm from the snapshot using the New-AzVM command with the resource group and location. Confirm deployment and public IP.
Azure virtual machines provide a fully configurable and flexible computing environment for organizations moving to the cloud. This Microsoft Azure course will teach you how to perform the most common day-to-day tasks in Microsoft Azure, using the new Azure PowerShell AZ Module.
As you work through this Azure course, you will learn how to perform the following tasks:
Install the AZ PowerShell Module Locally
Login to Azure with PowerShell
Create Resource Groups with PowerShell
Deploy Virtual Machines with PowerShell
Create and Attach Data Disks with PowerShell
Create Custom Images from Existing VMs
Deploy VMs from Custom Images with PowerShell
Create VM Snapshots via PowerShell
Deploy VMs from Snapshots with PowerShell
Resize Virtual Machines via PowerShell
Manage Virtual Machines with PowerShell
Delete VMs and Resource Groups with PowerShell
You’ll learn how to use some of the most common PowerShell commands and how to perform typical day-to-day tasks with PowerShell.
By the time you finish this Azure course, you will have learned how to perform many typical day-to-day virtual machine management tasks, using the new Azure PowerShell AZ Module, exclusively. The skills you learn as you work through this course will set you apart from many other IT professionals - since most IT professionals avoid PowerShell like the plague.
Set yourself apart from your industry peers today by enrolling and learning how to create and manage virtual machines with Azure PowerShell.