You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/files/storage-how-to-use-files-portal.md
+13-10Lines changed: 13 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
1
---
2
2
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.
#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.
12
12
---
13
13
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.
16
17
17
18
## Applies to
18
19
@@ -58,6 +59,7 @@ If you'd like to install and use PowerShell locally, you'll need the Azure Power
58
59
59
60
60
61
### PowerShell - Create a resource group
62
+
61
63
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.
62
64
63
65
The following example creates a resource group named *myResourceGroup* in the West US 2 region:
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.
96
99
97
100
The following example creates a resource group named *myResourceGroup* in the *West US 2* location:
@@ -107,6 +110,7 @@ az group create \
107
110
```
108
111
109
112
### CLI - Create a storage account
113
+
110
114
A storage account is a shared pool of storage in which you can deploy Azure file shares.
111
115
112
116
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 \
130
134
131
135
## Create an Azure file share
132
136
133
-
134
137
# [Portal](#tab/azure-portal)
135
138
136
139
To create an Azure file share:
@@ -220,9 +223,9 @@ az storage directory create \
220
223
---
221
224
222
225
223
-
#### Upload a file
224
-
# [Portal](#tab/azure-portal)
226
+
#### Upload a file
225
227
228
+
# [Portal](#tab/azure-portal)
226
229
227
230
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:
228
231
@@ -298,11 +301,11 @@ az storage file list \
298
301
---
299
302
300
303
#### Download a file
304
+
301
305
# [Portal](#tab/azure-portal)
302
306
303
307
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.
304
308
305
-
306
309
# [PowerShell](#tab/azure-powershell)
307
310
308
311
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.
0 commit comments