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 create HTML pages in SharePoint with Copilot or your own file
Create HTML pages in SharePoint with Copilot or by uploading your own file. Tested steps, live list data, publishing, and the restricted-site gotcha. - Build a SharePoint site inventory: admin center and PowerShell
List every SharePoint site with storage, type, hub, activity and sharing: the admin center views first, then one PowerShell function you can rerun monthly. - Using Copilot Workspaces with a project team: four tests on one project
How to create a Copilot workspace for a project team, and four tests on one project folder: a steering summary, the activity feed, workspace memory and “what changed since yesterday”. - Copilot Workspaces for admins: where the content lives and what to check
Where Copilot Workspaces content is stored, what retention, DLP and Information Barriers cover, how adding files shares them, what the audit log shows, and a PowerShell container report. - 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.
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.
