Cmdlets for Microsoft SharePoint

Build 24.0.9175

DiscardCheckOutDocument

Discards a check out on a document in SharePoint. This does not check a new file into SharePoint. It only releases the lock on the document.

Input

Name Type Required Description
Library String True The name of the library on the SharePoint server.
RemoteFile String True The path of the file on the server. This can be the full URL or simply the file name.

Result Set Columns

Name Type Description
Success Boolean Indicates whether the operation was successful or not.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175