< Back

Set-AzureStorageFileContent

Sun Jan 12, 2020 5:10 pm

NAME Set-AzureStorageFileContent



SYNTAX

Set-AzureStorageFileContent [-ShareName] <string> [-Source] <string> [[-Path] <string>] [-PassThru] [-Force]

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

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



Set-AzureStorageFileContent [-Share] <CloudFileShare> [-Source] <string> [[-Path] <string>] [-PassThru] [-Force]

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

[-Confirm] [<CommonParameters>]



Set-AzureStorageFileContent [-Directory] <CloudFileDirectory> [-Source] <string> [[-Path] <string>] [-PassThru]

[-Force] [-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 uploaded.



Required? true

Position? 0

Accept pipeline input? true (ByValue)

Parameter set name Directory

Aliases None

Dynamic? false



-Force

Force to overwrite the existing file.



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-PassThru

Returns an object representing the downloaded cloud 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 to the cloud file which would be uploaded to.



Required? false

Position? 2

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>

CloudFileShare object indicated the share where the file would be uploaded to.



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 uploaded to.



Required? true

Position? 0

Accept pipeline input? false

Parameter set name ShareName

Aliases None

Dynamic? false



-Source <string>

Path to the local file to be uploaded.



Required? true

Position? 1

Accept pipeline input? true (ByPropertyName)

Parameter set name (All)

Aliases FullName

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

System.String

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





OUTPUTS

System.Object



ALIASES

None





REMARKS

None