Skip to content

Commit f54d2d0

Browse files
(AzureCXP) fixes MicrosoftDocs/azure-docs#107418
Changes made in line no 's 52,68,106,193,256,291,449,502 From myContainer To myContainer
1 parent 9f94d67 commit f54d2d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

articles/storage/blobs/blob-powershell.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ All blob data is stored within containers, so you'll need at least one container
4949

5050
```azurepowershell
5151
#Create a container object
52-
$container = New-AzStorageContainer -Name "myContainer" -Context $ctx
52+
$container = New-AzStorageContainer -Name "mycontainer" -Context $ctx
5353
```
5454

5555
When you use the following examples, you'll need to replace the placeholder values in brackets with your own values. For more information about signing into Azure with PowerShell, see [Sign in with Azure PowerShell](/powershell/azure/authenticate-azureps).
@@ -65,7 +65,7 @@ The following example specifies a `-File` parameter value to upload a single, na
6565
```azurepowershell
6666
#Set variables
6767
$path = "C:\temp\"
68-
$containerName = "myContainer"
68+
$containerName = "mycontainer"
6969
$filename = "demo-file.txt"
7070
$imageFiles = $path + "*.png"
7171
$file = $path + $filename
@@ -103,7 +103,7 @@ The following example shows several approaches used to provide a list of blobs.
103103
```azurepowershell
104104
#Set variables
105105
$namedContainer = "named-container"
106-
$demoContainer = "myContainer"
106+
$demoContainer = "mycontainer"
107107
$containerPrefix = "demo"
108108
109109
$maxCount = 1000
@@ -190,7 +190,7 @@ The following sample code provides an example of both single and multiple downlo
190190

191191
```azurepowershell
192192
#Set variables
193-
$containerName = "myContainer"
193+
$containerName = "mycontainer"
194194
$path = "C:\temp\downloads\"
195195
$blobName = "demo-file.txt"
196196
$fileList = "*.png"
@@ -253,7 +253,7 @@ To read blob properties or metadata, you must first retrieve the blob from the s
253253
The following example retrieves a blob and lists its properties.
254254

255255
```azurepowershell
256-
$blob = Get-AzStorageBlob -Blob "blue-moon.mp3" -Container "myContainer" -Context $ctx
256+
$blob = Get-AzStorageBlob -Blob "blue-moon.mp3" -Container "mycontainer" -Context $ctx
257257
$properties = $blob.BlobClient.GetProperties()
258258
Echo $properties.Value
259259
```
@@ -288,7 +288,7 @@ The example below first updates and then commits a blob's metadata, and then ret
288288

289289
```azurepowershell
290290
#Set variable
291-
$container = "myContainer"
291+
$container = "mycontainer"
292292
$blobName = "blue-moon.mp3"
293293
294294
#Retrieve blob
@@ -446,7 +446,7 @@ You can delete either a single blob or series of blobs with the `Remove-AzStorag
446446
447447
```azurepowershell
448448
#Create variables
449-
$containerName = "myContainer"
449+
$containerName = "mycontainer"
450450
$blobName = "demo-file.txt"
451451
$prefixName = "file"
452452
@@ -499,7 +499,7 @@ To learn more about the soft delete data protection option, refer to the [Soft d
499499
```azurepowershell
500500
$accountName ="myStorageAccount"
501501
$groupName ="myResourceGroup"
502-
$containerName ="myContainer"
502+
$containerName ="mycontainer"
503503
504504
505505
$blobSvc = Get-AzStorageBlobServiceProperty `

0 commit comments

Comments
 (0)