Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimized Get-PnPFolderItem, Get-PnPFileInFolder and Get-PnPFolderInFolder to support document libries with over 5,000 items #4611

Merged
merged 4 commits into from
Dec 4, 2024

Conversation

KoenZomers
Copy link
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

Optimized Get-PnPFolderItem, Get-PnPFileInFolder and Get-PnPFolderInFolder to support document libries with over 5,000 items. This can be done by passing in the document library through the -List parameter. It will then use paging to retrieve all the items in the document library and cast them back to File or Folder objects.

@KoenZomers
Copy link
Collaborator Author

KoenZomers commented Dec 3, 2024

Accidentily merged in some minor changes to the AppMgmt cmdlets. They should be fine to process as well.

@erwinvanhunen erwinvanhunen merged commit 3e92ad3 into pnp:dev Dec 4, 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