< Back

Add-RepositoryDocument

Wed Jan 15, 2020 4:27 am

NAME Add-RepositoryDocument



SYNTAX

Add-RepositoryDocument -Repository <Repository> -LiteralPath <string[]> [-DisposeAfter <int>] [-DisposeAt

<datetime>] [-Type <string>] [-Concurrency <int>] [-GroupCount <int>] [-GroupSize <int>] [<CommonParameters>]



Add-RepositoryDocument -Repository <Repository> -Path <string[]> [-DisposeAfter <int>] [-DisposeAt <datetime>]

[-Type <string>] [-Concurrency <int>] [-GroupCount <int>] [-GroupSize <int>] [<CommonParameters>]





PARAMETERS

-Concurrency <int>

Concurrency (default: 4)



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-DisposeAfter <int>

Dispose the document(s) after this number of days



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-DisposeAt <datetime>

Dispose the document(s) at this date



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-GroupCount <int>

Number of files sent in one request (default: 4000)



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-GroupSize <int>

Maximum request size (default: 1000000)



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-LiteralPath <string[]>



Required? true

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name Literal

Aliases PSPath

Dynamic? false



-Path <string[]>



Required? true

Position? Named

Accept pipeline input? true (ByValue, ByPropertyName)

Parameter set name Path

Aliases None

Dynamic? false



-Repository <Repository>

Content Repository



Required? true

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

Dynamic? false



-Type <string>

Content type (by default this is derived from the filename extension)



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases None

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

System.String[]





OUTPUTS

System.Object



ALIASES

None





REMARKS

None