Skip to content

Commit 0a000d6

Browse files
Merge pull request #275260 from khdownie/patch-1
Update storage-how-to-use-files-portal.md
2 parents 8ec101a + c6a267c commit 0a000d6

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

articles/storage/files/storage-how-to-use-files-portal.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
---
22
title: Quickstart for creating and using Azure file shares
3-
description: Learn how to create and use Azure file shares with the Azure portal, Azure CLI, or Azure PowerShell. Create a storage account, create an SMB Azure file share, and use your Azure file share.
3+
description: Learn how to create and use SMB Azure file shares with the Azure portal, Azure CLI, or Azure PowerShell. Create a storage account, then create and use an Azure file share.
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: quickstart
7-
ms.date: 10/10/2023
7+
ms.date: 05/13/2024
88
ms.author: kendownie
99
ms.custom: engagement-fy23, mode-ui, devx-track-azurecli, devx-track-azurepowershell
1010
ms.devlang: azurecli
1111
#Customer intent: As an IT admin new to Azure Files, I want to try out Azure Files so I can determine whether I want to subscribe to the service.
1212
---
1313

14-
# Quickstart: Create and use an Azure file share
15-
[Azure Files](storage-files-introduction.md) is Microsoft's easy-to-use cloud file system. You can mount Azure file shares in Windows, Linux, and macOS operating systems. This article shows you how to create an SMB Azure file share using either the Azure portal, Azure CLI, or Azure PowerShell.
14+
# Quickstart: Create and use an SMB Azure file share
15+
16+
[Azure Files](storage-files-introduction.md) is Microsoft's easy-to-use cloud file system. You can mount SMB Azure file shares in Windows, Linux, and macOS operating systems. This article shows you how to create an Azure file share using either the Azure portal, Azure CLI, or Azure PowerShell.
1617

1718
## Applies to
1819

@@ -58,6 +59,7 @@ If you'd like to install and use PowerShell locally, you'll need the Azure Power
5859

5960

6061
### PowerShell - Create a resource group
62+
6163
A resource group is a logical container into which Azure resources are deployed and managed. If you don't already have an Azure resource group, create a new one with the [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet. You need a resource group to create a storage account.
6264

6365
The following example creates a resource group named *myResourceGroup* in the West US 2 region:
@@ -92,6 +94,7 @@ $storageAcct = New-AzStorageAccount `
9294
# [Azure CLI](#tab/azure-cli)
9395

9496
### CLI - Create a resource group
97+
9598
A resource group is a logical container in which Azure resources are deployed and managed. If you don't already have an Azure resource group, you can use the [az group create](/cli/azure/group) command to create one. You need a resource group to create a storage account.
9699

97100
The following example creates a resource group named *myResourceGroup* in the *West US 2* location:
@@ -107,6 +110,7 @@ az group create \
107110
```
108111

109112
### CLI - Create a storage account
113+
110114
A storage account is a shared pool of storage in which you can deploy Azure file shares.
111115

112116
The following example creates a storage account using the [az storage account create](/cli/azure/storage/account) command. Storage account names must be unique, so use `$RANDOM` to append a random number to the name to make it unique.
@@ -130,7 +134,6 @@ az storage account create \
130134

131135
## Create an Azure file share
132136

133-
134137
# [Portal](#tab/azure-portal)
135138

136139
To create an Azure file share:
@@ -220,9 +223,9 @@ az storage directory create \
220223
---
221224

222225

223-
#### Upload a file
224-
# [Portal](#tab/azure-portal)
226+
#### Upload a file
225227

228+
# [Portal](#tab/azure-portal)
226229

227230
First, you need to create or select a file to upload. Do this by whatever means you see fit. When you've decided on the file you'd like to upload, follow these steps:
228231

@@ -298,11 +301,11 @@ az storage file list \
298301
---
299302

300303
#### Download a file
304+
301305
# [Portal](#tab/azure-portal)
302306

303307
You can download a copy of the file you uploaded by right-clicking on the file and selecting **Download**. The exact experience will depend on the operating system and browser you're using.
304308

305-
306309
# [PowerShell](#tab/azure-powershell)
307310

308311
You can use the [Get-AzStorageFileContent](/powershell/module/az.storage/Get-AzStorageFilecontent) cmdlet to download a copy of the file you uploaded to the scratch drive of your Cloud Shell.
@@ -346,6 +349,7 @@ az storage file download \
346349
---
347350

348351
## Clean up resources
352+
349353
# [Portal](#tab/azure-portal)
350354

351355
[!INCLUDE [storage-files-clean-up-portal](../../../includes/storage-files-clean-up-portal.md)]
@@ -366,10 +370,9 @@ When you're done, you can use the [`az group delete`](/cli/azure/group) command
366370
az group delete --name $resourceGroupName
367371
```
368372

369-
370373
---
371374

372-
## Next steps
375+
## Next step
373376

374377
> [!div class="nextstepaction"]
375378
> [What is Azure Files?](storage-files-introduction.md)

0 commit comments

Comments
 (0)