Skip to content

Commit 3ea0cea

Browse files
authored
Merge pull request #111419 from mhopkins-msft/master
Fixed variable names based on GitHub issue #51399
2 parents 00bb202 + b24f419 commit 3ea0cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/blobs/storage-blob-storage-tiers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ $storageAccount =Get-AzStorageAccount -ResourceGroupName $rgName -Name $accountN
195195
$ctx = $storageAccount.Context
196196
197197
#Select the blob from a container
198-
$blobs = Get-AzStorageBlob -Container $containerName -Blob $blobName -Context $context
198+
$blob = Get-AzStorageBlob -Container $containerName -Blob $blobName -Context $ctx
199199
200200
#Change the blob’s access tier to archive
201201
$blob.ICloudBlob.SetStandardBlobTier("Archive")

0 commit comments

Comments
 (0)