Powershell Connect to Office 365 and Exchange Online

PowerShell is a great way to manage your Office 365 environment. It allows you to automate a lot of task by writing your own scripts or change settings with a single command. Now the first step, of course, is to connect PowerShell to Office 365. There are two ways to connect PowerShell to Office to … Read morePowershell Connect to Office 365 and Exchange Online

PowerShell GUI – Howto get started

I have created many PowerShell scripts for the last couple of years. All with a single purpose to automate my IT work as much as possible. But this week I needed to create a script that could be run by the users them self. And users and command line isn’t the best combination, so let’s … Read morePowerShell GUI – Howto get started

Migrate Users Home Drives to OneDrive for Business with PowerShell

OneDrive Migrate Home Folder

We have Office 365 now for 3 years almost and one the things on my to-do list was migrating the users home folders to OneDrive for Business. I tried it last year, asking every one to copy or move the files them self but that didn’t worked out as planned. So this time I had … Read moreMigrate Users Home Drives to OneDrive for Business with PowerShell

Using PowerShell to Update an AD User from a CSV file

I needed to update a bunch of AD Users with their new job title. A new year has started and some made promotion and got a new job title. So I received an Excel file with their full name and their new title from HR. Because this is happening every year, is it time to create … Read moreUsing PowerShell to Update an AD User from a CSV file

Duplicate Microsoft Planner Plans

Duplicate Microsoft Planner Plans

One of the most requested features on the UserVoice forum for Microsoft Planner is the ability to create a Microsoft Planner Templates and make new plans from it. Microsoft is working on this feature, but the ETA is still unknown. I got the same request and started working on a PowerShell script that allows you … Read moreDuplicate Microsoft Planner Plans

Install a Printerport and Printer with PowerShell

PowerShell add Printer Port and Printer

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 … Read moreInstall a Printerport and Printer with PowerShell

Restore Recycle bin SharePoint Online with PowerShell

Restore recycle bin sharepoint online pnp

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 these many … Read moreRestore Recycle bin SharePoint Online with PowerShell

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

SharePoint teamsites Powershell and document libraries

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 … Read moreGet Team sites & Create Document Library in SharePoint with PowerShell PnP