Table of contents
TOC
Collapse the table of content
Expand the table of content

Set-PnPFileCheckedOut

Bert Jansen|Last Updated: 2/20/2017
|
1 Contributor

Checks out a file

Syntax

Set-PnPFileCheckedOut -Url <String>
                      [-Web <WebPipeBind>]

Parameters

ParameterTypeRequiredDescription
UrlStringTrueThe server relative url of the file to check out
WebWebPipeBindFalseThe web to apply the command to. Omit this parameter to use the current web.

Examples

Example 1

PS:>Set-PnPFileCheckedOut -Url "/sites/testsite/subsite/Documents/Contract.docx"

Checks out the file "Contract.docx" in the "Documents" library.

© 2017 Microsoft