Skip to content
PS Code Vault PS Code Vault

PowerShell Code Snippets

  • Home
  • Install PnP
  • Download Visual Studio Code
  • Home
  • Install PnP
  • Download Visual Studio Code

Pnp

SharePoint PowerShell – Create a multi-layer folder structure in a Document Library

Posted by By Mike 21 May 2025
SCENARIO You've got a create a folder structure in a SharePoint Online Document Library where each folder has the same subfolders. Something that looks like this: FOLDER 1 SUB FOLDER…
Read More

SharePoint PowerShell – Remove All Item Level Permissions from a Document Library

Posted by By Mike 20 May 2025
One scenario I've had comes from archiving a legacy document library in SharePoint Online with item level permissions and then the need to make that specific library read-only. There's a…
Read More

Get All Items from a Large SharePoint Online Document Library with PowerShell

Posted by By Mike 19 May 2025
Firstly, I want to caveat this with the fact that the List View Threshold in SharePoint is a good thing. It encourages data integrity and categorisation, as well as efficient…
Read More

Recent Posts

  • Find All SharePoint Redirect Sites Your Tenant with PowerShell
  • SharePoint PowerShell – Create a multi-layer folder structure in a Document Library
  • SharePoint PowerShell – Remove All Item Level Permissions from a Document Library
  • Get All Items from a Large SharePoint Online Document Library with PowerShell
  • SharePoint PowerShell – Add an account to all SharePoint Online Site Collection Admins group

Categories

  • General
  • Pnp
  • SharePoint Online

Recent Comments

No comments to show.
Post You Might Like
Posted inSharePoint Online
Find All SharePoint Redirect Sites Your Tenant with PowerShell
Posted by By Mike 22 May 2025
Posted inPnp SharePoint Online
SharePoint PowerShell – Create a multi-layer folder structure in a Document Library
Posted by By Mike 21 May 2025
Posted inPnp SharePoint Online
SharePoint PowerShell – Remove All Item Level Permissions from a Document Library
Posted by By Mike 20 May 2025
Posted inPnp SharePoint Online
Get All Items from a Large SharePoint Online Document Library with PowerShell
Posted by By Mike 19 May 2025

“If you want to go fast, go alone. If you want to go far, go together.”

Privacy Policy
How to install PnP.PowerShell
Download Visual Studio Code

Copyright 2025 — PS Code Vault. All rights reserved.