Reader small image

You're reading from  Azure PowerShell Quick Start Guide

Product typeBook
Published inDec 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781789614954
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Thomas Mitchell
Thomas Mitchell
author image
Thomas Mitchell

Thomas Mitchell is a 25+ year veteran of the IT industry and carries numerous industry certifications. He has built a rather in-depth skill set that spans numerous IT disciplines. Tom's disciplines include Microsoft Exchange, Microsoft Office 365, Microsoft Azure, and Active Directory. He is now an independent IT consultant, a freelance author, and online IT trainer, has written about numerous IT topics for several online publications, and has even published several of his own IT courses on Udemy (dot) com. You can find a complete list of his courses at thomasmitchell (dot) net/udemy. Tom is the managing editor for understandingazure (dot) com. He lives with his wife, Darlene, and five kids, Michael, Tommy, Joey, Brittany, and Matthew.
Read more about Thomas Mitchell

Right arrow

Snapshotting an Azure VM disk

Another way to create custom virtual machines is to deploy them from an existing snapshot from another virtual machine. To do this, you first need to create a snapshot of an existing virtual machine.

The following exercises show you how to create the snapshot configuration for an existing virtual machine and how to take a snapshot of the disk using the New-AzureRmSnapshot cmdlet.

Setting snapshot parameters

Before snapshotting a virtual machine, a few parameters/variables need to be set so they can be more easily referenced later. We need to set the resource group name, the location where the source virtual machine resides, and a name for the snapshot.

Run the following commands to set the parameters...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Azure PowerShell Quick Start Guide
Published in: Dec 2018Publisher: PacktISBN-13: 9781789614954

Author (1)

author image
Thomas Mitchell

Thomas Mitchell is a 25+ year veteran of the IT industry and carries numerous industry certifications. He has built a rather in-depth skill set that spans numerous IT disciplines. Tom's disciplines include Microsoft Exchange, Microsoft Office 365, Microsoft Azure, and Active Directory. He is now an independent IT consultant, a freelance author, and online IT trainer, has written about numerous IT topics for several online publications, and has even published several of his own IT courses on Udemy (dot) com. You can find a complete list of his courses at thomasmitchell (dot) net/udemy. Tom is the managing editor for understandingazure (dot) com. He lives with his wife, Darlene, and five kids, Michael, Tommy, Joey, Brittany, and Matthew.
Read more about Thomas Mitchell