Azure Cloud Shell

One of the best tools you can use when working with Azure is PowerShell. I have published an earlier article on how you can connect to Azure Resource Manager (ARM) via PowerShell on your desktop.

Some people still struggle with this as it requires additional software to be installed and configured as well as authentication to the Azure tenant.

Microsoft has provided an easy way to use PowerShell with Azure and it is known as the Cloud Shell.

image

When you login to the Azure portal you should see a Script icon in the top right, just to the left of the Cog icon.

image

When you select this icon a window should appear at the bottom of your screen, showing a command line.

image

In most cases, the environment will default to BASH but you can select PowerShell in the top left of this window.

When you do a new command line environment will open up. It will run PowerShell AND (this is the really cool part) it will AUTOMATICALLY authenticate you to the Azure tenant tenant using the same credentials as you used in the browser to gain access to the Azure portal.

Now you can run your standard PowerShell commands directly in the browser as shown above.

image

Now the super cool feature of this is that Azure is also available as a mobile app (here in iOS). When you run that app you will again find the option for the Cloud Shell (here in the lower right).

clip_image001

When you select this icon, you’ll again be a command line environment that you can configure to be PowerShell as you see above.

Now you can run your PowerShell commands directly from any mobile device! How super cool is that?

Having the ability to run PowerShell from just about anywhere to work with Azure is a really, really powerful feature of Azure and makes the life of managing these resources much easier.

So, go and give it a try for yourself.

3 thoughts on “Azure Cloud Shell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s