A Decade of SharePoint Scripts
In One Repo

SharePointYankee is a free collection of PowerShell scripts, code snippets, and configuration files from SharePointYankee.com — covering SharePoint On-Premises, SharePoint Online, Azure, and Microsoft 365.

FreeOpen SourcePowerShellMIT License

The Problem

Every SharePoint admin has the same graveyard of one-off scripts — a bulk approval here, a permissions export there, a farm health check written at 2 AM during an outage. They end up scattered across old blog posts, consulting engagements, and forgotten folders, and you rewrite them from scratch every time.

SharePointYankee puts a decade-plus of that real-world work in one place. Many of the scripts were originally published as blog posts on SharePointYankee.com; others come from years of consulting, administration, and development. All of it is organized by category for easy reference and reuse.

What's Inside

SharePoint On-Premises
Farm health monitoring, WSP extraction, cross-domain user migration, bulk list approval, storage reports, feature deployment, and more — for on-prem farms from 2007 through 2019.
SharePoint Online
PnP PowerShell scripts for permissions exports, bulk site creation from CSV, storage reports, recycle bin and Preservation Hold Library inventories, and external sharing settings.
Azure & Microsoft 365
Export Microsoft 365 license reports, generate bulk user reports with MFA status via Microsoft Graph, read Key Vault secrets, and authenticate Azure Automation runbooks.
Monitoring
Test website health — HTTP status, response time, SSL cert expiry — and retrieve HTTP response headers from any URL.
SQL, JavaScript & Config
Content database usage queries, a Nintex Forms autocomplete replacement, People Picker wildcard config, IE registry tweaks, and a SharePoint-ready robots.txt.
Linked to the Blog
Many scripts include header comments linking back to the original SharePointYankee.com post with full context, explanations, and screenshots.

Install

The whole library is free and open source under the MIT License — clone it and browse by category.

git clone https://github.com/VAROIndustries/SharePointYankee.git cd SharePointYankee

Some scripts target older versions of SharePoint (2007, 2010, 2013, 2016) while others target current SharePoint Online and Azure services — always test in a non-production environment first.

Source and documentation: github.com/VAROIndustries/SharePointYankee

FAQ

What kinds of scripts are in the SharePointYankee repo?
The repo covers SharePoint On-Premises, SharePoint Online, Azure and Microsoft 365, monitoring, email, SQL, JavaScript, registry tweaks, and configuration files — dozens of scripts and snippets, organized by category, many with a link to the original blog post for full context.
Do these scripts work with SharePoint Online or only on-premises?
Both. There are dedicated folders for SharePoint On-Premises and SharePoint Online — the Online scripts use PnP PowerShell for tasks like exporting permissions, bulk-creating sites, and reporting on storage. Some on-premises scripts target older versions of SharePoint (2007, 2010, 2013, 2016) while others target current SharePoint Online and Azure services, so always test in a non-production environment first.
Is SharePointYankee free to use?
Yes — the entire repo is free and open source under the MIT License. Clone it from GitHub and use any script as a reference or starting point. The scripts are provided as-is for educational and reference purposes.
Where do these scripts come from?
They come from SharePointYankee.com — many were originally published as part of blog posts over the years, and others come from a decade-plus of real-world consulting, administration, and development work. Many scripts include header comments linking back to the original post with full context, explanations, and screenshots.

More Free Tools