Cmdlets for Microsoft SharePoint

Build 24.0.9060

UploadDocument

Uploads a document into the SharePoint library.

Input

Name Type Description
RelativeUrl String The URL of the folder you would like to upload file(s) to, relative to the base Url supplied in the cmdlet's connection properties.

For example:
Root folder: Shared Documents
Sub-folder: Shared Documents/MyFolder

If you set the Url connection property to a site collection, the relative URL will correspond with a path on the base site.
If the Url connection property points to a specific site, the relative URL will be relative to the site supplied in the Url.
InputFilePath String The location of the file to be uploaded.
FileName String The name of the File to be created.
Overwrite String A Boolean value to overwrite the existing file data.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
Id String Unique identifier Value Returned after completing the operation.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060