Install a Printerport and Printer with PowerShell

Last year I have written about how you can install a printer and printerport from the command line. Really useful if you want to create a batch script so users can install printers them self. But today I wanted to create some deployment scripts to do deploy some printers. And that made me thought, why am I not using PowerShell for…

Restore Recycle bin SharePoint Online with PowerShell

One of my users deleted a whole document library containing more than 12000 items. He synced the folder to his desktop, to find out it was way too big. Unfortunately, he deleted the items from his desktop without stopping the synchronization first. You can restore items from the recycle bin in SharePoint Online, but this many items can easier be done…

Get Team sites & Create Document Library in SharePoint with PowerShell PnP

I needed to create a new document library to all our project related SharePoint Team sites. We use Office 365 Teams for both business units as for our projects, so first we need to get a list of all Team sites within the tenant, then check if the site is a project related Team site to finally add a new…