PnP

Find checked out files across multiple Site Collections and libraries in SPO using PowerShell PnP

It might be another day, and you might have another requirement! In today’s blog post, we’ll have a look at...

Find empty folders in a SharePoint site using PowerShell PnP

We still have this debate about Folders vs. Metadata. Which one is better? Should I continue to use folders? etc…...

Get nested folders, files count, folder size, and more in SPO Document Libraries using PowerShell PnP

Isn’t it nice to have some reports, inventory, or any visual about a SharePoint site? So we know what’s going...

Modify the Quick Launch in SharePoint Online sites using PowerShell PnP

There are some useful cmdlets in the SharePoint PowerShell PnP module that one wouldn’t think about using, but coupled with...

Retrieve files with a specific name in a SharePoint Online site using PowerShell PnP

It’s not uncommon for companies to be wanting an inventory of files / folders in SharePoint. But we can also...

FolderCreated

Create folders in OneDrive For Business using PowerShell PnP – What do I need to do?

A few years back, I needed to create folders in OneDrive for Business in preparation for a migration. And as...

CustomPermCreated

Create Custom Permissions for multiple Site Collections in SPO using PowerShell PnP

It might be useful from time to time, and depending on the business requirements, to create custom permissions in SharePoint....

Retrieve files bigger than 50Mb in a SharePoint Online site using PowerShell PnP

Recently, I had a request to find every files in a specific SharePoint Online site that are 50Mb or bigger....

SitesWebpart

Associate multiple sites to a Hubsite using PowerShell PnP

Hubsites have been announced at Microsoft Ignite in 2017, and provide a way to display content from multiple sites (once...

ScriptWithErrorHandling

Retrieve Site Policies in SharePoint Online using PowerShell PnP

Site Policies in SharePoint can be used to have a better governance as the platform is growing. Storage is expensive,...