Book Image

Azure PowerShell Quick Start Guide

By : Thomas Mitchell
Book Image

Azure PowerShell Quick Start Guide

By: Thomas Mitchell

Overview of this book

As an IT professional, it is important to keep up with cloud technologies and learn to manage those technologies. PowerShell is a critical tool that must be learned in order to effectively and more easily manage many Azure resources. This book is designed to teach you to leverage PowerShell to enable you to perform many day-to-day tasks in Microsoft Azure. Taking you through the basic tasks of installing Azure PowerShell and connecting to Azure, you will learn to properly connect to an Azure tenant with PowerShell. Next, you will dive into tasks such as deploying virtual machines with PowerShell, resizing them, and managing their power states with PowerShell. Then, you will learn how to complete more complex Azure tasks with PowerShell, such as deploying virtual machines from custom images, creating images from existing virtual machines, and creating and managing of data disks. Later, you will learn how to snapshot virtual machines, how to encrypt virtual machines, and how to leverage load balancers to ensure high availability with PowerShell. By the end of this book, you will have developed dozens of PowerShell skills that are invaluable in the deployment and management of Azure virtual machines.
Table of Contents (7 chapters)

What this book covers

Chapter 1, Getting Started, covers the basics of Azure PowerShell and introduces you to basic PowerShell tasks, including the installation of Azure PowerShell and how to connect to Azure with it. It also covers remedial tasks, such as deploying a VM in Azure with PowerShell, resizing a VM, and managing VM states—all with PowerShell.

Chapter 2, Working with Images, introduces a few image-related Azure tasks that can be completed with PowerShell. It discusses the deployment of VMs using PowerShell with Marketplace images as well as how to create custom images and how to deploy VMs from such custom images.

Chapter 3, Working with Disks, covers more advanced topics, including the deployment and attachment of data disks using PowerShell. Also covered in this chapter is the creation of VM snapshots, and how to deploy new VMs from such snapshots. Encryption of VMs and virtual disks is also covered.

Chapter 4, High Availability, explores the deployment of availability sets and how to load balance Azure VMs.

Chapter 5, Other Cool Stuff, explores various other cool tricks that you can do with Azure PowerShell. Covered in this chapter is the creation and attachment of NICs to VMs using PowerShell. Tagging VMs with PowerShell and redeploying VMs with PowerShell are also covered, as are admin password resets. However, the coolest topic covered in this chapter is the management of VMs with custom script extensions.