Windows Terminal is a new consolidated shell experience in Windows that enables you to use all your consoles at one place. It now supports Azure Cloud Shell connection as well. So, what it means is you can now connect to your Azure Cloud Shell through Windows Terminal and start using your managed PowerShell environment in order to manage your Azure Resources without worrying about maintaining PowerShell modules and third party integrations.

To connect Windows Terminal to your Azure Cloud Shell, you can follow the below instructions.

First we need to modify the profile file clicking on Settings from the dropdown menu.

The below piece of code needs to be added to the profile file.

<code>

{

“acrylicOpacity” : 0.6,

    “closeOnExit” : false,

    “colorScheme” : “Vintage”,

    “commandline” : “Azure”,

    “connectionType” : “{d9fcfdfa-a479-412c-83b7-c5640e61cd62}”,

    “cursorColor” : “#FFFFFF”,

    “cursorShape” : “bar”,

    “fontFace” : “Consolas”,

    “fontSize” : 10,

    “guid” : “{b453ae62-4e3d-5e58-b989-0a998ec441b8}”,

    “historySize” : 9001,

    “icon” : “ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png”,

    “name” : “Azure Cloud Shell”,

    “padding” : “0, 0, 0, 0”,

    “snapOnInput” : true,

    “startingDirectory” : “%USERPROFILE%”,

    “useAcrylic” : true

}

</code>

Once saved, you should be able to see a new item on the menu, “Azure Cloud Shell”

It requires me to get authenticated first. So, I’ll navigate the URL shown below and enter the code provided.

I’m now signed in and ready to use Cloud Shell!

First it prompts me to pick up a Tenant to start.

It initializes Bash. I want to go with PowerShell, so I simply type “pwsh”.

Viola! I’m in!

Windows

Thanks

Onur

Leave a Reply

Your email address will not be published. Required fields are marked *