Skip to content

Commit 4528414

Browse files
committed
Fix graphic borders
1 parent bb62300 commit 4528414

File tree

3 files changed

+40
-36
lines changed

3 files changed

+40
-36
lines changed

articles/cloud-shell/TOC.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,8 @@ items:
1919
href: /azure/developer/terraform/quickstart-configure?bc=%2fazure%2fbread%2ftoc.json&toc=%2fazure%2fcloud-shell%2ftoc.json
2020
- name: Concepts
2121
items:
22-
- name: Security
23-
items:
24-
- name: Security baseline
25-
href: /security/benchmark/azure/baselines/cloud-shell-security-baseline?bc=%2fazure%2fbread%2ftoc.json&toc=%2fazure%2fcloud-shell%2ftoc.json
22+
- name: Security baseline
23+
href: /security/benchmark/azure/baselines/cloud-shell-security-baseline?bc=%2fazure%2fbread%2ftoc.json&toc=%2fazure%2fcloud-shell%2ftoc.json
2624
- name: How-to guides
2725
items:
2826
- name: Persist files in storage
-1.4 KB
Loading

articles/cloud-shell/quickstart.md

Lines changed: 38 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,39 +23,45 @@ This document details how to use Bash and PowerShell in Azure Cloud Shell from t
2323

2424
![Screenshot showing how to start Azure Cloud Shell in the Azure portal.][06]
2525

26-
The first time you start Cloud Shell you're prompted to create a storage account for the Azure
27-
file share.
26+
The first time you start Cloud Shell you're prompted to create an Azure Storage account for the
27+
Azure file share.
2828

2929
![Screenshot showing the create storage prompt.][05]
3030

31-
1. Select a subscription to create a storage account and Azure file share.
31+
1. Select the **Subscription** used to create the storage account and file share.
3232
1. Select **Create storage**.
3333

3434
### Select your shell environment
3535

36-
Cloud Shell allows you to select either Bash or PowerShell for your command-line experience.
36+
Cloud Shell allows you to select either **Bash** or **PowerShell** for your command-line experience.
3737

3838
![Screenshot showing the shell selector.][04]
3939

4040
### Registering your subscription with Azure Cloud Shell
4141

4242
Azure Cloud Shell needs access to manage resources. Access is provided through namespaces that must
43-
be registered to your subscription. Use the following commands to register the Microsoft.CloudShell
44-
RP namespace in your subscription:
43+
be registered to your subscription. Use the following commands to register the
44+
**Microsoft.CloudShell** namespace in your subscription:
4545

46-
### [Azure CLI](#tab/azurecli)
46+
<!-- markdownlint-disable MD023 -->
47+
<!-- markdownlint-disable MD024 -->
48+
<!-- markdownlint-disable MD051 -->
49+
#### [Azure CLI](#tab/azurecli)
4750

4851
```azurecli-interactive
4952
az account set --subscription <Subscription Name or Id>
5053
az provider register --namespace Microsoft.CloudShell
5154
```
5255

53-
### [Azure PowerShell](#tab/powershell)
56+
#### [Azure PowerShell](#tab/powershell)
5457

5558
```azurepowershell-interactive
5659
Select-AzSubscription -SubscriptionId <SubscriptionId>
5760
Register-AzResourceProvider -ProviderNamespace Microsoft.CloudShell
5861
```
62+
<!-- markdownlint-enable MD023 -->
63+
<!-- markdownlint-enable MD024 -->
64+
<!-- markdownlint-enable MD051 -->
5965

6066
---
6167

@@ -66,60 +72,57 @@ Register-AzResourceProvider -ProviderNamespace Microsoft.CloudShell
6672

6773
1. List subscriptions you have access to.
6874

69-
### [Azure CLI](#tab/azurecli)
75+
<!-- markdownlint-disable MD023 -->
76+
<!-- markdownlint-disable MD024 -->
77+
<!-- markdownlint-disable MD051 -->
78+
#### [Azure CLI](#tab/azurecli)
7079

7180
```azurecli-interactive
7281
az account list
7382
```
7483

75-
### [Azure PowerShell](#tab/powershell)
84+
#### [Azure PowerShell](#tab/powershell)
7685

7786
```azurepowershell-interactive
7887
Get-AzSubscription
7988
```
89+
<!-- markdownlint-enable MD023 -->
90+
<!-- markdownlint-enable MD024 -->
91+
<!-- markdownlint-enable MD051 -->
8092

8193
---
8294

8395
1. Set your preferred subscription:
8496

85-
### [Azure CLI](#tab/azurecli)
97+
<!-- markdownlint-disable MD023 -->
98+
<!-- markdownlint-disable MD024 -->
99+
<!-- markdownlint-disable MD051 -->
100+
#### [Azure CLI](#tab/azurecli)
86101

87102
```azurecli-interactive
88103
az account set --subscription 'my-subscription-name'
89104
```
90105

91-
### [Azure PowerShell](#tab/powershell)
106+
#### [Azure PowerShell](#tab/powershell)
92107

93108
```azurepowershell-interactive
94109
Set-AzContext -Subscription <SubscriptionId>
95110
```
111+
<!-- markdownlint-enable MD023 -->
112+
<!-- markdownlint-enable MD024 -->
113+
<!-- markdownlint-enable MD051 -->
96114

97115
---
98116

99117
> [!TIP]
100118
> Your subscription is remembered for future sessions using `/home/<user>/.azure/azureProfile.json`.
101119
102-
### Create a resource group
103-
104-
Create a new resource group in CentralUS named `MyRG`.
105-
106-
### [Azure CLI](#tab/azurecli)
107-
108-
```azurecli-interactive
109-
az group create --location centralus --name MyRG
110-
```
111-
112-
### [Azure PowerShell](#tab/powershell)
113-
114-
```azurepowershell-interactive
115-
New-AzResourceGroup -Name MyRG -Location centralus
116-
```
117-
118-
---
119-
120120
### Get a list of Azure commands
121121

122-
### [Azure CLI](#tab/azurecli)
122+
<!-- markdownlint-disable MD023 -->
123+
<!-- markdownlint-disable MD024-->
124+
<!-- markdownlint-disable MD051 -->
125+
#### [Azure CLI](#tab/azurecli)
123126

124127
Run the following command to see a list of all Azure CLI commands.
125128

@@ -133,7 +136,7 @@ Run the following command to get a list of Azure CLI commands that apply to WebA
133136
az webapp --help
134137
```
135138

136-
### [Azure PowerShell](#tab/powershell)
139+
#### [Azure PowerShell](#tab/powershell)
137140

138141
Run the following command to see a list of all Azure PowerShell cmdlets.
139142

@@ -149,6 +152,9 @@ Run the following commands to get a list the Azure PowerShell commands that appl
149152
cd 'Azure:/My Subscription/WebApps'
150153
Get-AzCommand
151154
```
155+
<!-- markdownlint-enable MD023 -->
156+
<!-- markdownlint-enable MD024 -->
157+
<!-- markdownlint-enable MD051 -->
152158

153159
---
154160

0 commit comments

Comments
 (0)