Site icon UnixArena

How to enable Azure Cloud Shell – bash / Powershell?

Logo Cloud shell

Logo Cloud shell

How to launch bash or PowerShell from the Azure portal? Azure offers cloud based shell access for advanced users almost from every corner. Microsoft maintains a cloud shell with commonly used CLI tools including Linux shell interpreters, PowerShell modules, Azure tools, text editors, source control, build tools, container tools, database tools, and more. Azure Cloud Shell also includes language support for several popular programming languages such as Node.js, .NET, and Python.

Enable Azure Cloud BASH shell

1. Login to Azure portal.

2. Click on the Cloud shell icon. Top right – > Next to the search bar. (highlighted)

Launch Azure Cloud shell

3. If you are familiar with bash, select bash shell to launch.

Bash Powershell – Azure Cloud Shell

4. Select the subscription and storage account. If you do not have existing storage account , you need to create a one.

Select the storage account or create – Azure

5. Once the cloud drive is created, cloud shell will be launched.

Initializing account for Cloud Shell

6. Here is the bash prompt.

Azure Bash shell – Welcome

How to launch PowerShell?

1. Select powershell from the drop down list.

Select Powershell – Cloud Shell

2. Azure container will relaunch and will provide powershell.

Azure Cloud Shell – Powershell

Let’s have fun with shell and explore more.

Note:

You could launch a new browser tab as cloud shell by accessing https://shell.azure.com/

Exit mobile version