Skip to content

New sample script: List all lists, its folders and item count for given site #2576

Description

@appieschot

Based on discussion here: https://twitter.com/jasoosterveld/status/1412442520139730950 a sample that list all doc libs in a site, and for each dob lib list all folders and their item count (recursively)

Sample: https://gist.githubusercontent.com/appieschot/c8f64dbb7657a315b4a1ffebbec098f0/raw/111ec32a2f36bf778e9d55f39e26c20787d16de8/doclibs.ps1

Docs
Author Albert-Jan Schot
Original Post https://www.cloudappie.nl/lists-file-count-cli-microsoft-365/
Description List all folders and their item count for migration purposes
Keywords SharePoint Online

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions