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

Find All SharePoint Redirect Sites Your Tenant with PowerShell

Posted by By Mike 22 May 2025
Redirect sites are created as a result of changing a SharePoint site address, or moving a site to a different geo location. Over time, these can rack up and difficult…
Read More

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

SharePoint PowerShell – Add an account to all SharePoint Online Site Collection Admins group

Posted by By Mike 18 May 2025
If you have a requirement for a consistent account/group in all of your tenant's SharePoint Online site collection admin groups then there's a couple of options - all very dependent…
Read More

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

Posted by By Mike 18 May 2025
Hello and welcome to PS Code Vault, a side-project of mine to document and share PowerShell code snippets I've found, expanded upon or written from scratch. I'm Mike, I have…
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.
  • Facebook
  • X (Twitter)
  • LinkedIn
  • More Networks
Share via
Facebook
X (Twitter)
LinkedIn
Mix
Email
Print
Copy Link
Copy link
CopyCopied