# Connect to Azure and position on the desired subscription
Connect-AzAccount
Get-AzSubscription -SubscriptionName "Microsoft Azure Sponsorship" | Set-AzContext


# Create a storage context
$context = New-AzStorageContext -StorageAccountName "staticwebsitestorage2" -StorageAccountKey "*****"

# Get a reference to the blob
$blob = Get-AzStorageBlob -Context $context -Container "images" -Blob "lighthouse.jfif"

# Set the CacheControl property to expire in 2 minutes (120 seconds) for the sake of the demo
$blob.ICloudBlob.Properties.CacheControl = "max-age=120"

# Send the update to the cloud
$blob.ICloudBlob.SetProperties()