Search Results for

    Show / Hide Table of Contents

    Set-PnPFileCheckedOut

    SYNOPSIS

    Checks out a file

    SYNTAX

    Set-PnPFileCheckedOut [-Url] <String> [-Connection <PnPConnection>] 
    

    DESCRIPTION

    Allows to check out a file.

    EXAMPLES

    EXAMPLE 1

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

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

    PARAMETERS

    -Connection

    Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

    Type: PnPConnection
    Parameter Sets: (All)
    
    Required: False
    Position: Named
    Default value: None
    Accept pipeline input: False
    Accept wildcard characters: False
    

    -Url

    The server relative url of the file to check out

    Type: String
    Parameter Sets: (All)
    
    Required: True
    Position: 0
    Default value: None
    Accept pipeline input: True (ByValue)
    Accept wildcard characters: False
    

    RELATED LINKS

    Microsoft 365 Patterns and Practices

    Back to top Generated by DocFX spacer