< Back

Start-AzureStorageFileCopy

Sun Jan 12, 2020 5:23 pm

NAME Start-AzureStorageFileCopy



SYNTAX

Start-AzureStorageFileCopy -SrcBlobName <string> -SrcContainerName <string> -DestShareName <string> -DestFilePath

<string> [-Context <IStorageContext>] [-DestContext <IStorageContext>] [-Force] [-ServerTimeoutPerRequest <int>]

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



Start-AzureStorageFileCopy -SrcBlobName <string> -SrcContainer <CloudBlobContainer> -DestShareName <string>

-DestFilePath <string> [-DestContext <IStorageContext>] [-Force] [-ServerTimeoutPerRequest <int>]

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



Start-AzureStorageFileCopy -SrcBlob <CloudBlob> -DestShareName <string> -DestFilePath <string> [-DestContext

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

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



Start-AzureStorageFileCopy -SrcBlob <CloudBlob> -DestFile <CloudFile> [-Force] [-ServerTimeoutPerRequest <int>]

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



Start-AzureStorageFileCopy -SrcFilePath <string> -SrcShareName <string> -DestShareName <string> -DestFilePath

<string> [-Context <IStorageContext>] [-DestContext <IStorageContext>] [-Force] [-ServerTimeoutPerRequest <int>]

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



Start-AzureStorageFileCopy -SrcFilePath <string> -SrcShare <CloudFileShare> -DestShareName <string> -DestFilePath

<string> [-DestContext <IStorageContext>] [-Force] [-ServerTimeoutPerRequest <int>] [-ClientTimeoutPerRequest

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



Start-AzureStorageFileCopy -SrcFile <CloudFile> -DestShareName <string> -DestFilePath <string> [-DestContext

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

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



Start-AzureStorageFileCopy -SrcFile <CloudFile> -DestFile <CloudFile> [-Force] [-ServerTimeoutPerRequest <int>]

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



Start-AzureStorageFileCopy -AbsoluteUri <string> -DestShareName <string> -DestFilePath <string> [-DestContext

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

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



Start-AzureStorageFileCopy -AbsoluteUri <string> -DestFile <CloudFile> [-Force] [-ServerTimeoutPerRequest <int>]

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





PARAMETERS

-AbsoluteUri <string>

Source Uri



Required? true

Position? Named

Accept pipeline input? false

Parameter set name UriToFilePath, UriToFileInstance

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



-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>

Source Azure Storage Context Object



Required? false

Position? Named

Accept pipeline input? true (ByPropertyName)

Parameter set name ContainerName, ShareName

Aliases SrcContext

Dynamic? false



-DestContext <IStorageContext>

Destination Storage context object



Required? false

Position? Named

Accept pipeline input? false

Parameter set name ContainerName, ContainerInstance, BlobInstanceFilePath, ShareName, ShareInstance,

FileInstanceToFilePath, UriToFilePath

Aliases None

Dynamic? false



-DestFile <CloudFile>

Dest file instance



Required? true

Position? Named

Accept pipeline input? false

Parameter set name BlobInstanceFileInstance, FileInstanceToFileInstance, UriToFileInstance

Aliases None

Dynamic? false



-DestFilePath <string>

Dest file path



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ContainerName, ContainerInstance, BlobInstanceFilePath, ShareName, ShareInstance,

FileInstanceToFilePath, UriToFilePath

Aliases None

Dynamic? false



-DestShareName <string>

Dest share name



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ContainerName, ContainerInstance, BlobInstanceFilePath, ShareName, ShareInstance,

FileInstanceToFilePath, UriToFilePath

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



-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



-SrcBlob <CloudBlob>

Source blob instance



Required? true

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name BlobInstanceFilePath, BlobInstanceFileInstance

Aliases ICloudBlob

Dynamic? false



-SrcBlobName <string>

Source blob name



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ContainerName, ContainerInstance

Aliases None

Dynamic? false



-SrcContainer <CloudBlobContainer>

Source container instance



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ContainerInstance

Aliases None

Dynamic? false



-SrcContainerName <string>

Source container name



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ContainerName

Aliases None

Dynamic? false



-SrcFile <CloudFile>

Source file instance



Required? true

Position? Named

Accept pipeline input? true (ByValue)

Parameter set name FileInstanceToFilePath, FileInstanceToFileInstance

Aliases None

Dynamic? false



-SrcFilePath <string>

Source file path



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ShareName, ShareInstance

Aliases None

Dynamic? false



-SrcShare <CloudFileShare>

Source share instance



Required? true

Position? Named

Accept pipeline input? false

Parameter set name ShareInstance

Aliases None

Dynamic? false



-SrcShareName <string>

Source share name



Required? true

Position? Named

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.Blob.CloudBlob

Microsoft.WindowsAzure.Storage.File.CloudFile

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





OUTPUTS

System.Object



ALIASES

None





REMARKS

None