You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多
文档控制台
免费开始使用

如何通过URL指定Azure Cloud Shell打开Bash或PowerShell环境?

如何指定Azure Cloud Shell打开的Shell类型?

要直接指定打开Bash或PowerShell,需使用正确的URL参数格式,以下是两种入口的有效写法:

1. 直接访问Azure Cloud Shell独立页面

  • 打开Bash:https://shell.azure.com/?shell=bash
  • 打开PowerShell:https://shell.azure.com/?shell=powershell

2. 通过Azure门户打开Cloud Shell

  • 打开Bash:https://portal.azure.com/#cloudshell/?shell=bash
  • 打开PowerShell:https://portal.azure.com/#cloudshell/?shell=powershell

你之前尝试的URL无效,原因是参数格式或路径写法错误:

  • 错误写法如https://portal.azure.com/#cloudshell/bash缺少了标准的参数声明?shell=
  • feature.bash=true这类自定义参数并非官方支持的Shell类型指定方式

内容的提问来源于stack exchange,提问作者JJS

火山引擎 最新活动