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
 

Remove-AzureStorageDirectory

Remove-AzureStorageDirectory

microsoft.windowsazure.commands.storage.dll

Synopsis

Remove an azure storage file directory.

Syntax

Remove-AzureStorageDirectory [-ShareName] [-Path] [-PassThru] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AzureStorageDirectory [-Share] [-Path] [-PassThru] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AzureStorageDirectory [-Directory] [-Path] [-PassThru] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AzureStorageDirectory [-PassThru] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [-WhatIf] [-Confirm] [<CommonParameters>]

Remove-AzureStorageDirectory [-PassThru] [-Context] [-ServerTimeoutPerRequest] [-ClientTimeoutPerRequest] [-ConcurrentTaskCount] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

Remove an azure storage file directory.

Parameters

-ShareName <String>

The file share name

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Path <String>

The path of the file directory to be removed

Aliases

None

Required?

true

Position

1

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-PassThru <SwitchParameter>

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 (ByValue)

Accept wildcard characters?

false

-ServerTimeoutPerRequest <Nullable`1[Int32]>

Server side timeout value for the request

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ClientTimeoutPerRequest <Nullable`1[Int32]>

Client side timeout value for the request

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-ConcurrentTaskCount <Nullable`1[Int32]>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Share <CloudFileShare>

The file share object

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-Directory <CloudFileDirectory>

The directory object to be removed

Aliases

None

Required?

true

Position

0

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-ClientRequestId <string>

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

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


Notes

Examples

-------------------------- Example 1 --------------------------

This example removes a file directory named sampledir under the sample file share.

PS C:\> Get-AzureStorageShare -Name sample | Remove-AzureStorageDirectory -Path sampledir

-------------------------- Example 2 --------------------------

This example removes a file directory named sampledir under the sample file share.

PS C:\> Remove-AzureStorageDirectory -ShareName sample -Path sampledir

Get-AzureStorageFile
New-AzureStorageDirectory