A family of Microsoft on-premises document management and storage systems.
Thank you for reaching out to Microsoft Q&A forum
As far as I know, processing a 2TB SharePoint site via PowerShell requires a strategic approach. Standard item-by-item iteration (like using a standard Get-PnPListItem or Get-PnPFolderItem without strict optimization) will almost certainly fail due to a combination of SharePoint API throttling (HTTP 429 Too Many Requests),...
However, to better assist you, could you please provide the following additional information:
- Which PowerShell cmdlet are you using to retrieve the storage details for the large SharePoint site?
- What is the exact error message you see when the execution fails? You may provide a screenshot if available (please make sure to hide any personal information).
Best regards
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.