< Back

Remove-AzureStorageShare

Sun Jan 12, 2020 5:02 pm

NAME Remove-AzureStorageShare



SYNTAX

Remove-AzureStorageShare [-Name] <string> [-IncludeAllSnapshot] [-Force] [-PassThru] [-Context <IStorageContext>]

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

[-Confirm] [<CommonParameters>]



Remove-AzureStorageShare [-Share] <CloudFileShare> [-IncludeAllSnapshot] [-Force] [-PassThru]

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

[-Confirm] [<CommonParameters>]





PARAMETERS

-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



-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



-Context <IStorageContext>

Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name ShareName

Aliases None

Dynamic? false



-Force

Force to remove the share with all its snapshots, and all content in them.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-IncludeAllSnapshot

Remove File Share with all of its snapshots



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Name <string>

Name of the file share to be removed.



Required? true

Position? 0

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name ShareName

Aliases None

Dynamic? false



-PassThru

Returns an object representing the removed file share. By default, this cmdlet does not generate any output.



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



-Share <CloudFileShare>

File share object to be removed.



Required? true

Position? 0

Accept pipeline input? true (ByValue)

Parameter set name Share

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

System.String

Microsoft.WindowsAzure.Storage.File.CloudFileShare

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





OUTPUTS

System.Object



ALIASES

None





REMARKS

None