Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureStorageBlobContent

Get-AzureStorageBlobContent

microsoft.windowsazure.commands.storage.dll

Synopsis

Download the specified azure storage blob.

Syntax

Get-AzureStorageBlobContent [-Blob] [-Container] [-Destination] [-CheckMd5] [-Force] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [<CommonParameters>]

Get-AzureStorageBlobContent [-ICloudBlob] [-Destination] [-CheckMd5] [-Force] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [<CommonParameters>]

Get-AzureStorageBlobContent [-CloudBlobContainer] [-Blob] [-Destination] [-CheckMd5] [-Force] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [<CommonParameters>]

Detailed Description

Download the specified azure storage blob.

Parameters

-Blob <String>

Blob name.

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Container <String>

Container name.

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Destination <String>

Download destination file path.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-CheckMd5 <SwitchParameter>

Whether check the md5 sum for downloaded file.

Aliases

None

Required?

false

Position

named

Default value

False

Accept pipeline input?

false

Accept wildcard characters?

false

-Force <SwitchParameter>

Force to overwrite the existing file.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Context <AzureStorageContext>

Azure Storage Context. You can create it by New-AzureStorageContext cmdlet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-ServerTimeoutPerRequest <Nullable`1[Int32]>

Server side time out for each request.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ClientTimeoutPerRequest <Nullable`1[Int32]>

Client side time out for each request.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ConcurrentTaskCount <Nullable`1[Int32]>

The total amount of concurrent async tasks.

Aliases

None

Required?

false

Position

named

Default value

ProcessorCount * 8

Accept pipeline input?

false

Accept wildcard characters?

false

-ICloudBlob <ICloudBlob>

ICloudBlob object from Azure Storage Client library. You can create it or use Get-AzureStorageBlob cmdlet.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-CloudBlobContainer <CloudBlobContainer>

CloudBlobContainer object from Azure Storage Client library. You can create it or use Get-AzureStorageContainer cmdlet.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

true (ByPropertyName)

Accept wildcard characters?

false

-PipelineVariable <string>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type


Return Type

AzureStorageContainer

Notes

If the blob name is invalid for local machine, this cmdlet will auto resovle it if it's possible.

Examples

-------------------------- Download blob by name. --------------------------

PS C:\> Get-AzureStorageBlobContent -Container containername -Blob blob -Destination C:\test\

-------------------------- Download blob content using pipeline from GetAzureStorageBlob. --------------------------

PS C:\> Get-AzureStorageBlob -Container containername -Blob blobname | Get-AzureStorageBlobContent

-------------------------- Download blob content using pipeline from GetAzureStorageContainer. --------------------------

PS C:\> Get-AzureStorageContainer container* | Get-AzureStorageBlobContent -Blob cbox.exe -Destination C:\test

Set-AzureStorageBlobContent
Get-AzureStorageBlob
Remove-AzureStorageBlob