Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 595 Bytes

SetPnPFileCheckedOut.md

File metadata and controls

21 lines (18 loc) · 595 Bytes

Set-PnPFileCheckedOut

Checks out a file

Syntax

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

Parameters

Parameter Type Required Description
Url String True The server relative url of the file to check out
Web WebPipeBind False The 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.