Skip to content

Commit b24f419

Browse files
committed
Fixed variable names based on GitHub issue #51399
1 parent f93747b commit b24f419

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)