Skip to content
 
 

Repository files navigation

SharePoint Online Script Samples

This repository contains over 260 script samples for SharePoint Online to help you automate common tasks, generate reports, and manage your environment more effectively.

Overview

These scripts are designed to address frequent IT Pro requests and provide solutions for tasks that are not available through the SharePoint user interface. The scripts leverage a variety of technologies, including:

  • PnP PowerShell
  • C#
  • Client-Side Object Model (CSOM)
  • REST API

Scripts Index

The scripts are organized into the following categories for easy navigation:


Content Types

File Management

Getting SPO objects with REST

Items Management

Licensing

Lists and Libraries Management

Managed Metadata

OneDrive for Business

Pages

Permissions

Power Automate

Site Management

Tenant Settings

User Profiles

Versioning

Workflows

Other

About

Over 260 scripts for SharePoint Online (SPO), OneDrive for Business, and SharePoint Server. The samples fix issues, provide reports and extra settings not available via UI. The scripts use Powershell, C#, CSOM and REST. They include copies of existing scripts from Technet Gallery years 2013-2019. >>> Scroll down to see the full index

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages