O'Reilly logo

Windows Server 2016 Automation with PowerShell Cookbook - Second Edition by Thomas Lee

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How it works...

After you install the Azure cmdlets, the first thing to do is logon to Azure. If you are using an AAD account to logon, you can pass credentials directly the cmdlet. If you are using a Microsoft Live account to logon, you see two dialog boxes:

From this dialog, you enter your Live ID and click on Sign in. Azure takes you to a second dialog box where you enter your password:

After a successful logon in step 1, the cmdlet outputs details about your account, like this:

In step 2, you obtain (and display) the subscription object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required