< Back

Remove-AzureStorageBlob

Sun Jan 12, 2020 4:53 pm

NAME Remove-AzureStorageBlob



SYNTAX

Remove-AzureStorageBlob [-Blob] <string> [-Container] <string> [-DeleteSnapshot] [-Force] [-PassThru] [-Context

<IStorageContext>] [-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>]

[-WhatIf] [-Confirm] [<CommonParameters>]



Remove-AzureStorageBlob -CloudBlob <CloudBlob> [-DeleteSnapshot] [-Force] [-PassThru] [-Context <IStorageContext>]

[-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf]

[-Confirm] [<CommonParameters>]



Remove-AzureStorageBlob [-Blob] <string> -CloudBlobContainer <CloudBlobContainer> [-DeleteSnapshot] [-Force]

[-PassThru] [-Context <IStorageContext>] [-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest <int>]

[-ConcurrentTaskCount <int>] [-WhatIf] [-Confirm] [<CommonParameters>]





PARAMETERS

-Blob <string>

Blob name



Required? true

Position? 0

Accept pipeline input? false

Parameter set name ContainerPipeline, NamePipeline

Aliases None

Dynamic? false



-ClientTimeoutPerRequest <int>

The client side maximum execution time for each request in seconds.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-CloudBlob <CloudBlob>

CloudBlob Object



Required? true

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name BlobPipeline

Aliases ICloudBlob

Dynamic? false



-CloudBlobContainer <CloudBlobContainer>

CloudBlobContainer Object



Required? true

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name ContainerPipeline

Aliases None

Dynamic? false



-ConcurrentTaskCount <int>

The total amount of concurrent async tasks. The default value is 10.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-Container <string>

Container name



Required? true

Position? 1

Accept pipeline input? false

Parameter set name NamePipeline

Aliases None

Dynamic? false



-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name (All)

Aliases None

Dynamic? false



-DeleteSnapshot

Only delete blob snapshots



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Force

Force to remove the blob and its snapshot



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-PassThru

Return whether the specified blob is successfully removed



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-ServerTimeoutPerRequest <int>

The server time out for each request in seconds.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

Microsoft.WindowsAzure.Storage.Blob.CloudBlob

Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer

Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext





OUTPUTS

System.Boolean





ALIASES

None





REMARKS

None