PowerShell for O365

Task-based command-line shell and scripting language built on the .NET Framework

Change column values based on other column values in SPO using PowerShell PnP

Today, I wanted to share something I’ve learned thanks to the PowerShell Community out there, who responded to my “Tweet...

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…...

Split data into 2 columns in SPO using PowerShell PnP and use Power Automate for new items

Woow, that title was pretty long! But we are going to use SharePoint Online, PowerShell PnP, and also Power Automate...

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...

Retrieve Likes & Comments count from SharePoint Online pages using PowerShell PnP

Today, we’re going to play a bit with SharePoint Online pages, and try to get the number of Likes &...

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....