Skip to main content
Azure
  • 2 min read

Announcing the public preview of PowerShell in Azure Cloud Shell

A few months ago, we started the journey to bring the PowerShell experience to Azure Cloud Shell. Today, that experience enters public preview alongside Bash in Azure Cloud Shell. With the addition of PowerShell in Cloud Shell, now you have the flexibility to choose the shell experience that works best for you.

A few months ago, we started the journey to bring the PowerShell experience in to Azure Cloud Shell. Today, that experience enters public preview alongside Bash in Azure Cloud Shell. With the addition of PowerShell in Cloud Shell, now you have the flexibility to choose the shell experience that works best for you.

Features of PowerShell in Cloud Shell

The PowerShell experience builds on to the benefits of Azure Cloud Shell such as:

  • Authenticated shell access to Azure from virtually anywhere.
  • Common tools and programming languages in a shell that’s updated and maintained by Microsoft.
  • Persist your files across sessions in attached Azure File storage.

The PowerShell experience adds:

  • Azure drive (Azure:) to discover and navigate all Azure resources like file system navigation. Azure drive also provides contextual capabilities such as:
    • Resource group scoping for Azure PowerShell cmdlets, when within the context of a resource group path in the Azure drive (Azure:).
    • Context-sensitive command list using Get-AzureRmCommand. It only lists commands that are applicable to items under the path in Azure drive (Azure:).
  • Rich PowerShell script editing using VIM, which provides built-in syntax highlighting and IntelliSense for PowerShell files. 
  • An extensible model for adding new commands (via modules and scripts) from the PowerShell Gallery, which automatically persisted across your Cloud Shell sessions.
  • Enables interactions with VMs using PowerShell remoting to enable management of guest VMs.

PSCloudShell-DriveAndVIM

Find more details about the features and tools incorporated into the PowerShell experience in Cloud Shell.

Azure PowerShell integration

To provide a streamlined Azure PowerShell experience, Cloud Shell:

  • Automatically authenticates access to all your account’s subscriptions for Azure PowerShell
  • Maintains the version of the Azure PowerShell modules, providing the latest and greatest experience in every Cloud Shell session

Whether you’re an experienced Azure user or new to the platform, Cloud Shell offers low-friction access to learn and use Azure PowerShell commands. Using Cloud Shell, you can easily automate and manage resources at scale from the comfort of the Azure portal.

Azure documentation integration

Azure PowerShell documentation is now fully interactive with the addition of PowerShell Try It button. This addition enables an immersive learning experience for Azure PowerShell scenarios and samples. The integrated PowerShell environment in the Azure documentation uses the same PowerShell in Cloud Shell experience that is available from the Azure portal.

PowerShell-CloudShell-TryIt-Documentation (002)

Try this experience today in the Azure PowerShell tutorials.

Azure mobile app integration

PowerShell in Azure Cloud Shell is also available on the Azure mobile app enabling you to take this experience with you, wherever you go. Saving in-progress work across devices is where it starts to get interesting. With the power of the Azure mobile app, you have access to any script in your CloudDrive, from virtually anywhere.

powershell cloud shell on devices

Try it today

Launch Cloud Shell from the top navigation bar of the Azure portal and select PowerShell option from the shell drop-down list. Learn more details about Azure Cloud Shell.

PowerShell-In-CloudShell

Thank you to our private preview users who helped shape the current experience by providing valuable feedback via issues and feature requests. We encourage you to continue your support by sharing your thoughts, experience, and input through Azure Cloud Shell UserVoice.