Microsoft 365 guides and free PowerShell scripts for admins
Practical, tested how-tos for SharePoint, OneDrive, Teams and Copilot by Adnan Amin, Microsoft MVP. Most articles come with a script you can run today.
Browse by topic
Pick an area to see every guide and script for it.
Latest articles
New guides, Message Center changes and scripts.
- How to turn on Copilot Workspaces for selected users
Copilot Workspaces is in Frontier only until the December rollout. How I turned on Frontier for three test users, how long it took to appear, and what users see before and after. - Fix: the number of items in this list exceeds the list view threshold
SharePoint list over 5,000 items? Fix list view threshold errors with indexed columns, a filtered view and PnP PowerShell paging, shown on a 6,200-item list. - Check SharePoint’s Baseline Security Mode settings before you turn them on
Baseline Security Mode 2026 was announced at Ignite. Check its SharePoint settings first: where they are, impact reports, and a PowerShell check across tenants. - Archive inactive SharePoint files with the Admin Agent and PowerShell
Archive inactive SharePoint files from the library, the SharePoint Admin Agent or an inactive files policy in PowerShell, with what-if mode and a report. - Microsoft Graph sharedWithMe and recent stop returning data this month
Graph sharedWithMe, recent and two insights endpoints stop returning data after November 2026. Find old calls in your scripts and move to the Search API. - Unique permissions report for a SharePoint site using PnP PowerShell
List every SharePoint library, folder, file and item with unique permissions using PnP PowerShell, and see why sharing links make the count higher.
Start here
The guides most admins ask about first.
Unique permissions report for a SharePoint site
Find every Anyone link on a SharePoint site
Find which SharePoint sites have Copilot blocked
Microsoft 365 Copilot readiness checklistMSTechTalk.M365 PowerShell module
The scripts from these articles are becoming one free, read-only reporting module for Microsoft 365: permissions, sharing, storage, OneDrive and Copilot reports from tenant level down to a single library.
Get new posts by email
One short email a week with the new Microsoft 365 guides and PowerShell scripts. Unsubscribe any time.