Connecting to Azure via local PowerShell [Windows 10]

So to make life more interesting we will try to manage our Azure resources via PowerShell, running on our local workstation with Windows 10 Pro.

Before going to the details, its nice ot have updated help, which is done by typing:

To connect to Azure, there are some basics steps, before typing

There are some modulels that need to be installed and in order to do so, the appropriate policy should be set on your local instance:

After that, some modules must be installed

Wait some time, after which you could import the modules:

After that, connecting to Azure is as simple as typing:

Then you will be prompted to enter your Azure credentials on a form like this:

And in the end you should get something looking like this displayed on your PowerShell CLI:

You can also test by typing:

Which will dislplay all resouces, available within the current env.

Connectivity overview for the lab

After some time spent installing, configuring, reading and rebooting, the lab is going quite well. Also, it might look like there are too many tools or too many solutions with overlapping capabilities, but its all in the name of lab testing :).

 

On the bellow diagram,  you could find the connectivity overview of the lab Рinculind the on-premise secion and the two public clouds that will be integrated.

In future posts, there will be more info how to configure some of the components, for example the virtual router of MicroTik and so on.