Skip to content

Commit 20d75db

Browse files
authored
Merge pull request #105765 from tamram/tamram-0226
update AzCopy section of quickstart per issue
2 parents d94ad40 + 4cc3f82 commit 20d75db

File tree

3 files changed

+11
-12
lines changed

3 files changed

+11
-12
lines changed

articles/storage/blobs/storage-quickstart-blobs-cli.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ The Azure CLI is Azure's command-line experience for managing Azure resources. Y
2424

2525
[!INCLUDE [cloud-shell-try-it.md](../../../includes/cloud-shell-try-it.md)]
2626

27+
## Use the Azure CLI locally
28+
2729
If you choose to install and use the Azure CLI locally, this quickstart requires that you are running the Azure CLI version 2.0.46 or later. Run `az --version` to determine your version. If you need to install or upgrade, see [Install the Azure CLI](/cli/azure/install-azure-cli).
2830

2931
If you are running the Azure CLI locally, you must log in and authenticate. This step is not necessary if you are using Azure Cloud Shell. To log in to Azure CLI, run `az login` and authenticate in the browser window:

articles/storage/blobs/storage-quickstart-blobs-powershell.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ author: tamram
88
ms.custom: mvc
99
ms.service: storage
1010
ms.topic: quickstart
11-
ms.date: 12/04/2019
11+
ms.date: 02/26/2020
1212
ms.author: tamram
1313
---
1414

@@ -93,16 +93,13 @@ Get-AzStorageBlobContent -Blob "Image002.png" `
9393

9494
## Data transfer with AzCopy
9595

96-
The [AzCopy](../common/storage-use-azcopy.md?toc=%2fazure%2fstorage%2fblobs%2ftoc.json) utility is another option for high-performance scriptable data transfer for Azure Storage. Use AzCopy to transfer data to and from Blob, File, and Table storage.
96+
The AzCopy command-line utility offers high-performance, scriptable data transfer for Azure Storage. You can use AzCopy to transfer data to and from Blob storage and Azure Files. For more information about AzCopy v10, the latest version of AzCopy, see [Get started with AzCopy](../common/storage-use-azcopy-v10.md). To learn about using AzCopy v10 with Blob storage, see [Transfer data with AzCopy and Blob storage](../common/storage-use-azcopy-blobs.md).
9797

98-
As a quick example, here's the AzCopy command for uploading a file called *myfile.txt* to the *mystoragecontainer* container from within a PowerShell window.
98+
The following example uses AzCopy to upload a local file to a blob. Remember to replace the sample values with your own values:
9999

100100
```powershell
101-
./AzCopy `
102-
/Source:C:\myfolder `
103-
/Dest:https://mystorageaccount.blob.core.windows.net/mystoragecontainer `
104-
/DestKey:<storage-account-access-key> `
105-
/Pattern:"myfile.txt"
101+
azcopy login
102+
azcopy copy 'C:\myDirectory\myTextFile.txt' 'https://mystorageaccount.blob.core.windows.net/mycontainer/myTextFile.txt'
106103
```
107104

108105
## Clean up resources

articles/storage/common/authorize-active-directory-cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ author: tamram
77

88
ms.service: storage
99
ms.topic: how-to
10-
ms.date: 12/30/2019
10+
ms.date: 02/26/2020
1111
ms.author: tamram
1212
ms.reviewer: cbrooks
1313
ms.subservice: common
@@ -55,7 +55,7 @@ The following example shows how to create a container in a new storage account f
5555
--name <storage-account> \
5656
--resource-group sample-resource-group-cli \
5757
--location eastus \
58-
--sku Standard_LRS \
58+
--sku Standard_ZRS \
5959
--encryption-services blob
6060
```
6161
@@ -67,8 +67,8 @@ The following example shows how to create a container in a new storage account f
6767
1. Call the [az storage container create](https://docs.microsoft.com/cli/azure/storage/container?view=azure-cli-latest#az-storage-container-create) command with the `--auth-mode` parameter set to `login` to create the container using your Azure AD credentials:
6868
6969
```azurecli
70-
az storage container create \
71-
--account-name <storage-account> \
70+
az storage container create \
71+
--account-name <storage-account> \
7272
--name sample-container \
7373
--auth-mode login
7474
```

0 commit comments

Comments
 (0)