< Back

Send-AzureFileServiceFile

Sat Jan 11, 2020 4:55 am

NAME Send-AzureFileServiceFile



SYNOPSIS

Copies a file to an Azure File Share





SYNTAX

Send-AzureFileServiceFile [-StorageAccountName] <String> [-ShareName] <String> [-CalculateChecksum] [-InputObject]

<FileInfo[]> [[-Path] <String>] [[-BufferSize] <Int32>] [[-StorageAccountDomain] <String>] [-AccessKey] <String>

[[-ContentType] <String>] [-UseHttp] [[-ApiVersion] <String>] [<CommonParameters>]





DESCRIPTION

Copies a file to an Azure File Share





PARAMETERS

-StorageAccountName <String>

The storage account name



Required? true

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ShareName <String>

The share name



Required? true

Position? 2

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-CalculateChecksum [<SwitchParameter>]

Whether to calculate an MD5 checksum



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-InputObject <FileInfo[]>

The file(s) to be uploaded



Required? true

Position? 3

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Path <String>

The item path



Required? false

Position? 4

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-BufferSize <Int32>

The size of the upload buffer



Required? false

Position? 5

Default value 4096000

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-StorageAccountDomain <String>

The FQDN for the storage account service



Required? false

Position? 6

Default value file.core.windows.net

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-AccessKey <String>

The storage service access key



Required? true

Position? 7

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ContentType <String>



Required? false

Position? 8

Default value application/octet-stream

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-UseHttp [<SwitchParameter>]

Use Insecure requests



Required? false

Position? named

Default value False

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-ApiVersion <String>

The storage service API version



Required? false

Position? 9

Default value 2016-05-31

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? 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



OUTPUTS





RELATED LINKS