Cmdlets for Microsoft SharePoint

Build 24.0.9060

CopyDocument

Copies a document from the SharePoint library.

Input

Name Type Description
DocumentName String The original document location relative to its library.
DocumentLibrary String The display name of the library in which the original document is stored.
NewDocumentLibrary String The display name of the library in which the copy document will be stored. If left blank, this will be the same as DocumentLibrary.
NewDocumentName String The copy document location relative to its new library. If left blank, this will be the same as DocumentName.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.
Id String The Id of the document.
DocumentId String The document Id.
DocumentIdUrl String The URL of the document Id.
FileRef String The file reference of the document.

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