Book Image

Mastering Azure Virtual Desktop

By : Ryan Mangan
Book Image

Mastering Azure Virtual Desktop

By: Ryan Mangan

Overview of this book

Azure Virtual Desktop is a cloud desktop virtualization platform that securely delivers virtual desktops and remote apps. Mastering Azure Virtual Desktop will guide you through designing, implementing, configuring, and maintaining an Azure Virtual Desktop environment effectively. This book can also be used as an exam preparation guide to help you sit the Microsoft AZ-140 exam. You’ll start with an introduction to the essentials of Azure Virtual Desktop. Next, you’ll get to grips with planning an Azure Virtual Desktop architecture before learning how to implement an Azure Virtual Desktop environment. Moving ahead, you’ll learn how to manage and control access as well as configure security controls on your Azure Virtual Desktop environment. As you progress, you’ll understand how to manage user environments and configure MSIX app attach and other Azure Virtual Desktop features to enhance the user experience. You’ll also learn about the Azure Active Directory (AD) join and getting started feature. Finally, you’ll discover how to monitor and maintain an Azure Virtual Desktop environment to help you support your users and diagnose issues when they occur. By the end of this Microsoft Azure book, you’ll have covered all the essential topics you need to know to design and manage Azure Virtual Desktop and prepare for the AZ-140 exam.
Table of Contents (29 chapters)
1
Section 1: Introduction
3
Section 2: Planning an Azure Virtual Desktop Architecture
8
Section 3: Implementing an Azure Virtual Desktop Infrastructure
13
Section 4: Managing Access and Security
16
Section 5: Managing User Environments and Apps
21
Section 6: Monitoring and Maintaining an Azure Virtual Desktop Infrastructure

Automating the creation of AVD hosts and host pools

This section looks at setting up PowerShell for AVD and deploying a new host pool using PowerShell.

Setting up PowerShell for AVD

Before we can get started, you first need to install the PowerShell module for AVD. You can do this by opening PowerShell in elevated mode.

Tip

Make sure you install the Az module. If you haven't already done so, run the Install-Module -Name Az -Force command.

Once you have opened PowerShell in elevated mode, run the following cmdlet:

Install-Module -Name Az.DesktopVirtualization

The following screenshot shows you how to install the Az.DesktopVirtualization PowerShell module:

Figure 6.18 – Screenshot showing the installation of the PowerShell module for Az.DesktopVirtualization

Figure 6.18 – Screenshot showing the installation of the PowerShell module for Az.DesktopVirtualization

As shown in Figure 6.18, you may be asked to confirm whether you trust the repository.

Next, you will need to connect to Microsoft Azure using the following cmdlet...