Table of Contents

Get-PnPFolderSharingLink

SYNOPSIS

Retrieves sharing links to associated with the folder.

SYNTAX

Get-PnPFolderSharingLink -Folder <FolderPipeBind> [-Connection <PnPConnection>] 

DESCRIPTION

Retrieves sharing links for a folder.

EXAMPLES

EXAMPLE 1

Get-PnPFolderSharingLink -Folder "/sites/demo/Shared Documents/Test"

This will fetch sharing links for Test folder in the Shared 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

-Folder

The folder in the site

Type: FolderPipeBind
Parameter Sets: (All)

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices