![]()
In this tutorial, we will learn how to get more than 5000 list items using PowerShell script in SharePoint Online. As we know generally, if we have a list or document library with more than 5000 items in SharePoint, we will not be able to retrieve those items due to the list view threshold error.


![[Fixed] hidden error: Activate SharePoint Server Publishing Infrastructure feature in SharePoint Online site (Microsoft 365) 5 [Fixed] Error – activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/06/Fixed-Error-%E2%80%93-activate-the-SharePoint-Server-Publishing-Infrastructure-feature-in-SharePoint-Online-site.jpg?fit=965%2C540&ssl=1)
![Get All Webparts from Pages in a Site using PowerShell in SharePoint Online 7 [Verified] Get all webpart properties from SharePoint Online site page using the PowerShell script](https://i0.wp.com/global-sharepoint.com/wp-content/uploads/2020/06/Verified-Get-all-webpart-properties-from-SharePoint-Online-site-page-using-the-PowerShell-script.png?fit=943%2C548&ssl=1)





