Set-BlobStorageContentType

Sets blobs of specific file types in storage to another content type.

Sets blobs of specific file types in storage to another content type, e.g .js is set to Application/Javascript

This command forms part of the PaaS Building Block.

Parameters

-ResourceGroupName

Required. (String) The name of the resource group where the blob storage account is located.

-StorageName

Required. (String) The name of the blob storage account.

-WhatIf

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

-Confirm

(Switch) Run the command without executing any actions, so that no changes are made. The command will output a description of actions to be performed against the affected resources in the console window. Use this option if you are unsure of the overall impact of your command and wish to review it before committing to making changes.

Examples

Example 1

1
2
3
    SetBlobStorageContentTypes -ResourceGroupName "myResourceGroup" -StorageName "myStorage"