PowerShell SharePoint Online

Setting SharePoint Online Site Collection Administrator with PowerShell

A SharePoint Site Collection Administrator has full control permissions for all sites within a site collection. This role is crucial for the management and maintenance of SharePoint sites.…

SharePoint Tenant rename
PowerShell SharePoint Online

Executing a SharePoint Tenant Rename

Tired of that outdated tenant name haunting your branding? In 2026, with mergers, rebrands, and domain shifts more common than ever, renaming your SharePoint Online tenant is a game-changer.…

OneDrive Known Folder Move
OneDrive PowerShell

OneDrive Known Folder Move Still Broken Here’s the Fix

OneDrive Known Folder Move (KFM) promised automatic Desktop Documents Pictures backups to the cloud. Five years later admins still fight registry glitches GPO conflicts sync client hangs and…

PowerShell SharePoint Online

Tenant to Tenant Migration – create site collections using PowerShell

In Microsoft 365, a single SharePoint site can be easily created using SharePoint Admin center. Usually when we are doing content migrations to SharePoint online, we need to…

PowerShell SharePoint Online

Step by Step Installation of PnP PowerShell for SharePoint online

The PnP PowerShell module, developed by Microsoft’s Patterns and Practices (PnP), has evolved into an essential resource for SharePoint administrators and developers. Offering a comprehensive array of PowerShell…

PowerShell SharePoint Online

SharePoint PowerShell script to list Files and folders with Unique Permissions

Managing permissions in SharePoint Online can be a challenging task, especially when dealing with items that have unique permissions. To simplify this process, we can use PowerShell to…

OneDrive PowerShell

Automating OneDrive for Business Downloads using PowerShell

In today’s fast-paced work environment, efficiency and automation are key. For those utilizing OneDrive for Business, automating the process of downloading your files can save a significant amount…

PowerShell SharePoint Online

Generating SharePoint List Item Count Report with PowerShell

SharePoint is a popular platform for business collaboration and content management. However, managing large SharePoint environments can be challenging. One common task is to get an inventory of…

SharePoint Migration Compare two sites
PowerShell SharePoint Online

SharePoint Migration and Post-Migration Comparison Report with PowerShell

SharePoint migrations involve moving data from one SharePoint environment to another. This could be from an older version of SharePoint to a newer one, from on-premises to online,…

PowerShell SharePoint Online

Updating SharePoint List Item Metadata with PowerShell

Updating SharePoint list item metadata manually can be a time-consuming process, especially when dealing with a large number of items, specially in case of content migration. This script…

Adnan Amin

Adnan Amin

Microsoft MVP since 2015 and Senior Microsoft Consultant. Practical Microsoft 365 guides and free PowerShell scripts for SharePoint, OneDrive, Teams and Copilot admins.

Microsoft MVP badge - view Adnan Amin's MVP profile

About me · LinkedIn · GitHub · YouTube

Get new posts by email

One short email a week with the new Microsoft 365 guides and PowerShell scripts. Unsubscribe any time.

Recent Posts
Graph sharedWithMe deprecated featured image: sharedWithMe goes quiet this month
Microsoft Graph sharedWithMe and recent stop returning
SharePoint unique permissions report featured image: who broke inheritance
Unique permissions report for a SharePoint site
Anyone links SharePoint featured image: every Anyone link in one CSV
How to find Anyone links on a
SharePoint OTP retirement featured image: old guest links stopped working
Guests getting access denied on old SharePoint
Featured image: three ways to find SharePoint sites with Copilot blocked using Restricted Content Discovery
Three ways to find which SharePoint sites