< Back
Remove-AzureStorageFile
Post
NAME Remove-AzureStorageFile
SYNTAX
Remove-AzureStorageFile [-ShareName] <string> [-Path] <string> [-PassThru] [-Context <IStorageContext>]
[-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-Share] <CloudFileShare> [-Path] <string> [-PassThru] [-ServerTimeoutPerRequest <int>]
[-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-Directory] <CloudFileDirectory> [-Path] <string> [-PassThru] [-ServerTimeoutPerRequest
<int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-File] <CloudFile> [-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
-Directory <CloudFileDirectory>
CloudFileDirectory object indicated the cloud directory where the file would be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name Directory
Aliases None
Dynamic? false
-File <CloudFile>
CloudFile object indicated the file to be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name File
Aliases None
Dynamic? false
-PassThru
Returns an object representing the removed file. 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
-Path <string>
Path of the file to be removed.
Required? true
Position? 1
Accept pipeline input? false
Parameter set name ShareName, Share, Directory
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>
CloudFileShare object indicated the share where the file would be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name Share
Aliases None
Dynamic? false
-ShareName <string>
Name of the file share where the file would be removed.
Required? true
Position? 0
Accept pipeline input? false
Parameter set name ShareName
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.File.CloudFileShare
Microsoft.WindowsAzure.Storage.File.CloudFileDirectory
Microsoft.WindowsAzure.Storage.File.CloudFile
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
System.Object
ALIASES
None
REMARKS
None
SYNTAX
Remove-AzureStorageFile [-ShareName] <string> [-Path] <string> [-PassThru] [-Context <IStorageContext>]
[-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf]
[-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-Share] <CloudFileShare> [-Path] <string> [-PassThru] [-ServerTimeoutPerRequest <int>]
[-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-Directory] <CloudFileDirectory> [-Path] <string> [-PassThru] [-ServerTimeoutPerRequest
<int>] [-ClientTimeoutPerRequest <int>] [-ConcurrentTaskCount <int>] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AzureStorageFile [-File] <CloudFile> [-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
-Directory <CloudFileDirectory>
CloudFileDirectory object indicated the cloud directory where the file would be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name Directory
Aliases None
Dynamic? false
-File <CloudFile>
CloudFile object indicated the file to be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name File
Aliases None
Dynamic? false
-PassThru
Returns an object representing the removed file. 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
-Path <string>
Path of the file to be removed.
Required? true
Position? 1
Accept pipeline input? false
Parameter set name ShareName, Share, Directory
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>
CloudFileShare object indicated the share where the file would be removed.
Required? true
Position? 0
Accept pipeline input? true (ByValue)
Parameter set name Share
Aliases None
Dynamic? false
-ShareName <string>
Name of the file share where the file would be removed.
Required? true
Position? 0
Accept pipeline input? false
Parameter set name ShareName
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.File.CloudFileShare
Microsoft.WindowsAzure.Storage.File.CloudFileDirectory
Microsoft.WindowsAzure.Storage.File.CloudFile
Microsoft.Azure.Commands.Common.Authentication.Abstractions.IStorageContext
OUTPUTS
System.Object
ALIASES
None
REMARKS
None