Checks out a file
Set-PnPFileCheckedOut -Url <String>
[-Web <WebPipeBind>]
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. |
PS:>Set-PnPFileCheckedOut -Url "/sites/testsite/subsite/Documents/Contract.docx"
Checks out the file "Contract.docx" in the "Documents" library.