Creating and Managing Azure Virtual Machines with PowerShell
4.5 (243 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,831 students enrolled

Creating and Managing Azure Virtual Machines with PowerShell

Learn How to Use PowerShell to Deploy and Manage Virtual Machines in Microsoft Azure
4.5 (243 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
1,831 students enrolled
Last updated 7/2018
English
English [Auto]
Current price: $16.99 Original price: $24.99 Discount: 32% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 2 hours on-demand video
  • 1 article
  • 1 downloadable resource
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Install PowerShellGet and Other Azure PS Prerequisites
  • Install Azure PowerShell Module
  • Connect to Azure via PowerShell
  • Create and Connect to an Azure Virtual Machine
  • Identify VM Images on the Marketplace
  • View and Use Specific VM Sizes
  • Resize a Virtual Machine
  • View and Understand VM States
  • Manage Virtual Machines with PowerShell
  • Provision and Attach Data Disks to a VM
  • Create OS Disk Snapshots
  • Create Disks from Snapshots
  • Deploy New VMs from Snapshots
Requirements
  • Basic understanding of Microsoft Azure
  • Basic Understanding of How to Launch PowerShell
Description

Azure virtual machines provide a fully configurable and flexible computing environment. This course will teach you how to perform the most common day-to-day tasks in Azure PowerShell, including:

  • Installing and Configuring PowerShellGet
  • Installing and Configuring the AzureRM PowerShell Module
  • Connecting to Azure with PowerShell
  • Creating Resource Groups with PowerShell
  • Deploying Virtual Machines Using PowerShell
  • Connecting to Virtual Machines Using PowerShell
  • Creating and Attaching Data Disks with PowerShell
  • Locating New VM Images with PowerShell
  • Deploying VMs from Alternate Images Using PowerShell
  • Working with Marketplace Publishers
  • Resizing a Virtual Machine via PowerShell
  • Viewing and Modifying VM States with PowerShell
  • Managing Virtual Machines with PowerShell
  • Deleting VMs and Resource Groups with PowerShell


By the end of this course, you will have learned how to perform many day-to-day VM management tasks using PowerShell exclusively.  The skills you learn in this course will set you apart from many other IT professionals - since most IT professionals avoid PowerShell like the plague.

Who this course is for:
  • IT Professionals Interested in Learning Real-World Azure PowerShell Skills
Course content
Expand all 28 lectures 02:06:25
+ Prerequisites
4 lectures 11:38

PowerShellGet is used to download and install Azure PowerShell.  Learn how to install PowerShellGet.

Preview 03:26

Learn how to download and install Azure PowerShell from the gallery.

Install Azure PowerShell module
04:08

Learn how to load the AzureRM PowerShell module into an existing PowerShell session.

Loading the AzureRM Module
01:38

Learn how to connect to an Azure tenant, using PowerShell.

Connecting to Azure via PowerShell
02:26

Reinforce what you've learned in this section by answering these questions.

QUIZ
5 questions
Perform the exercises in this assignment to install the Azure PowerShell prerequisites, the Azure PowerShell module, and to connect to Azure using PowerShell
ASSIGNMENT: Install Azure PowerShell and Connect to Your Azure Tenant
3 questions
+ Deploying a Virtual Machine
3 lectures 16:49

Learn how to provision a resource group, using PowerShell.

Creating a Resource Group with PowerShell
02:45

Learn how to deploy a virtual machine in Azure, using PowerShell.

Creating a Virtual Machine with PowerShell
11:03

Learn how to connect to a virtual machine via RDP through PowerShell.

Connect to a VM via PowerShell
03:01
QUIZ
5 questions
Complete the steps in this assignment to deploy and connect to an Azure virtual machine. NOTE: You must have already completed the "Prerequisites" assignment to complete the tasks in this assignment.
ASSIGNMENT: Deploy and Connect to a Virtual Machine
3 questions
+ Working with Marketplace Images
2 lectures 12:32

Learn how to use key PowerShell commands when working with images.

Preview 07:44

Learn how to deploy a virtual machine, using a pre-existing image from the marketplace.

Provisioning a VM via an Image
04:48
QUIZ
3 questions
Complete the tasks in this assignment to locate a VM image on the Azure marketplace and to provision a VM based on that image
ASSIGNMENT: Working with Images
3 questions
+ NEW: Getting Started with Data Disks
4 lectures 16:26

An introduction to the two type of disks.

NEW: A Word About Disks
02:02

Learn how to provision a new data disk in Azure, using PowerShell

NEW: Creating a Data Disk
05:12

Learn how to attach a new data disk to a virtual machine in Azure, using PowerShell

NEW: Adding a Data Disk to a Virtual Machine
04:20

Learn how to prepare a newly-attached data disk for use by the operating system.

NEW: Preparing a Data Disk for Use
04:52
QUIZ
4 questions
Create a data disk and add it to a virtual machine
ASSIGNMENT: Create Data Disk and Add to VM
5 questions
+ Resizing a Virtual Machine
2 lectures 10:59

Learn how to use key commands when resizing virtual machines.

Key PowerShell Commands
02:30

Learn how to resize a virtual machine, using PowerShell

Resizing a VM with PowerShell
08:29
QUIZ
3 questions
Complete the tasks in this assignment to resize a virtual machine
ASSIGNMENT: Resizing a Virtual Machine
4 questions
+ VM power states
1 lecture 04:16

Learn about the differences among the seven different power states that a VM can exist in.

Power States
04:16
QUIZ
3 questions
Complete the tasks in this assignment to check the status of a virtual machine.
ASSIGNMENT: Check Status of a Virtual Machine
1 question
+ Management Tasks
4 lectures 13:21

Learn how to stop a virtual machine, using PowerShell.

Stopping a VM with PowerShell
04:33

Learn how to start a virtual machine, using PowerShell.

Starting a VM with PowerShell
01:54

Learn how to remove a virtual machine, using PowerShell.

Deleting a VM with PowerShell
03:55

Learn how to delete an entire resource group, using PowerShell.

Deleting a Resource Group with PowerShell
02:59
QUIZ
3 questions
Complete the tasks in this assignment to reinforce your knowledge of typical management commands.
ASSIGNMENT: Managing a Virtual Machine with PowerShell
2 questions
+ NEW: Snapshotting a VM
3 lectures 13:52

Learn how to setup variables in order to streamline the snapshot process

Set Parameters
04:28

Learn how to create a snapshot creation that will be used to create an actual snapshot of an OS disk

Create Snapshot Configuration
04:36

Learn how to create a snapshot of an OS disk

Take the Snapshot
04:48
QUIZ
4 questions
Reinforce what you've learned by creating a snapshot of an OS disk
ASSIGNMENT: Create a Snapshot of an OS Disk
2 questions
+ NEW: Deploying a VM from a Snapshot
3 lectures 23:11

Learn how to use variables to streamline the deployment process

Load the Variables
07:21

Learn how to initialize the configuration of a new virtual machine

Initialize the Configuration
12:21

Learn how to deploy the VM from a disk that's been created from a snapshot.

Create the VM
03:29
In this assignment, you will deploy a new disk from the previous snapshot, and then you will deploy a VM from the new disk.
ASSIGNMENT: Deploy a VM from a Snapshot
3 questions

Reinforce what you've learned

QUIZ
3 questions