How it works...

This recipe is all about getting started with Azure. Since there are no Azure cmdlets supplied with Windows Server 2016 or Windows 10 by default, you need to find them and install them on your local machine (for example CL1).

In step 1, you use the PowerShellGet module's Find-Module cmdlet to find the key Azure modules, as shown in the following screenshot:

As you can see, the first step displays the two core Azure modules. The Azure module is the one you use for accessing the ASM based Azure objects, while the AzureRM module provides access to the Azure ARM API and related objects. Since the recipes in this chapter only target ...

Get Windows Server 2016 Automation with PowerShell Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.