Get-ListsWithXAmountOfItems

4.0

This script will count all items in each list for each web you specify and return the lists with an X amount of items.
This can be helpfull to identify all large lists in your environment.
You only need to specify the start location, the amount of items to look for, a directly for the log file.
The required modules will be installed if not available on your device dir
This script will count all items in each list for each web you specify and return the lists with an X amount of items.
This can be helpfull to identify all large lists in your environment.
You only need to specify the start location, the amount of items to look for, a directly for the log file.
The required modules will be installed if not available on your device directly from the PowerShell Gallery.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-ListsWithXAmountOfItems

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Package Details

Author(s)

  • Maarten Peeters - SharePointFire - https://sharepointfire.com

Tags

SharePoint Lists Count

Functions

Update-Log

Dependencies

This script has no dependencies.

Release Notes

Version 1.0: Original published version.
Version 2.0: Updated the IF statement regarding the subWeb all items variable
Version 3.0: Changed the new-file value to not include a value
Version 4.0: Remove the URL header from the CSV

FileList

Version History

Version Downloads Last updated
4.0 (current version) 248 1/25/2019
3.1 37 1/24/2019
3.0 39 1/24/2019
2.0 39 1/24/2019