Skip to content

Update Help of Set-AzureStorageBlobContent for -Properties usage #4751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,13 @@ The first command creates a hash table that contains metadata for a blob, and st
The second command uploads the file that is named ContosoPlanning to the container named ContosoUploads.
The blob includes the metadata stored in $Metadata, and has PremiumPageBlobTier as P10.

### Example 6: Upload a file to blob with specified blob properties
```
PS C:\> Set-AzureStorageBlobContent -File "ContosoPlanning" -Container "ContosoUploads" -Properties @{"ContentType" = "image/jpeg"; "ContentMD5" = "i727sP7HigloQDsqadNLHw=="}
```

This command uploads the file that is named ContosoPlanning to the container named ContosoUploads with specified blob properties.

## PARAMETERS

### -Blob
Expand Down Expand Up @@ -301,7 +308,8 @@ Accept wildcard characters: False
```

### -Properties
Specifies properties for the uploaded blob.
Specifies properties for the uploaded blob.
The supported properties are: CacheControl, ContentDisposition, ContentEncoding, ContentLanguage, ContentMD5, ContentType.

```yaml
Type: Hashtable
Expand Down