Skip to content

Conversation

KoenZomers
Copy link
Collaborator

@KoenZomers KoenZomers commented Jul 12, 2024

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

  • Added -Identity parameter to the Get-PnPFileSharingLink cmdlet allowing for the retrieval of sharing links based on the file's unique identifier, file instance, listitem instance, or server relative path and supporting retrieval of sharing links for multiple files, such as all in a document library
  • Changed -FileUrl on Get-PnPFileSharingLink to become obsolete. Please switch to using -Identity instead, passing in the same value

Samples of what it allows doing now:

By listitem:

image

By file:

image

By all files in a folder:

image

By ServerRelativeUrl:

image

By GUID:

image

@gautamdsheth gautamdsheth merged commit a25ffc7 into pnp:dev Jul 16, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants