Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

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.

WE ARE MICROSOFT

Explore Microsoft Foundry

The future of AI starts here. Envision your next great AI app with the latest technologies. Get started with Azure.