Replies: 1 comment
-
Have you tried setting page size to 4000?
I haven't encountered a large list yet this did not work for, even if it
took a very long time.
Does the list have indexes?
tors. 28. dec. 2023 12.14 skrev amaru96 ***@***.***>:
… If my doc lib has a massive amount of items (millions) the
Get-PnPListItems command throws an error: Unable to read data from the
transport connection: An existing connection was forcibly closed by the
remote host.
This is the command I'm running which works most of the time, but as I
said, if the doclib is massive, it errors.
Get-PnPListItem -List $doclib -Fields "FileLeafRef", "FileRef" -PageSize
100
—
Reply to this email directly, view it on GitHub
<#3656>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMTDTTOQVCTR2PTZ4QSA4DYLVH73AVCNFSM6AAAAABBFMINB2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGAYDMOJVHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If my doc lib has a massive amount of items (millions) the Get-PnPListItems command throws an error: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
This is the command I'm running which works most of the time, but as I said, if the doclib is massive, it errors.
Get-PnPListItem -List $doclib -Fields "FileLeafRef", "FileRef" -PageSize 100
Beta Was this translation helpful? Give feedback.
All reactions