Only in December for LazyAdmin readers: Get 20% discount on your first invoice of Cloudways hosting with code LA20. Read more here

Connect to Exchange Online with PowerShell

Managing Exchange Online with PowerShell makes a lot of daily tasks a lot easier (and quicker). Not only for your daily tasks you may need PowerShell, but some settings in Exchange Online can only be changed with PowerShell. So how do you connect to Exchange … Read moreConnect to Exchange Online with PowerShell

Microsoft Teams Uninstall, Reinstall, and Cleanup Guide & Scripts

Microsoft Teams is not like your average program when it comes to installing and uninstall it. The problem with Microsoft Teams is that it’s installed for every user, in the user’s AppData (or program data sometimes). Besides that, we also have Microsoft Teams machine-wide installer, … Read moreMicrosoft Teams Uninstall, Reinstall, and Cleanup Guide & Scripts

Remove Empty Folders in SharePoint Online

After merging duplicate folders in SharePoint Online I needed to remove the empty folders. This is something we can do as well with PowerShell and PnP. The script will go through all folders recursively. If the folder is empty then it will delete it. If … Read moreRemove Empty Folders in SharePoint Online

Merge Duplicate folders in SharePoint with PowerShell

A reader of this blog reached out to me if I knew a way to merge duplicate folders in SharePoint Online. Users had already worked in the duplicate folders, so we not only needed to merge the folders but also preserve the last modified file. … Read moreMerge Duplicate folders in SharePoint with PowerShell

How-to Enable Sharepoint External Sharing

One of the great advantages of SharePoint Online and OneDrive is that you can easily share your content not only internally, but also with external and guest users. In SharePoint Online is external sharing turned on by default for all your SharePoint Sites. Now you … Read moreHow-to Enable Sharepoint External Sharing

How to Connect PowerShell 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 tasks 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. … Read moreHow to Connect PowerShell to Office 365 and Exchange Online

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 everyone to copy or move the files themself but that didn’t work … Read moreMigrate Users Home Drives to OneDrive for Business with PowerShell