This repository contains over 260 script samples for SharePoint Online to help you automate common tasks, generate reports, and manage your environment more effectively.
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
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
- Content Type Management Settings
- Create Content Types
- Content Type Display Forms
- Get Content Type Information
- Set Content Type Properties
- Content Type Modules
- Remove Content Types
- Manage Documents in Libraries
- Audit Folder Structures
- File and Folder Count
- Create Sample Structures
- Get Files and Folders
- Check-in/Check-out Operations
- File Management Module
- Records Management
- Restore File Versions
- Manage Item Attachments
- Bulk Update Items
- Create List Items
- Get List Items
- Item Management Module
- Item Permissions
- List and Library Deletion
- Search Settings
- Folder Creation Settings
- Permissions Inheritance
- Checkout Management
- Column Management
- Create Lists and Libraries
- Folder Structure
- Modern vs Classic Experience
- List and Library Properties
- Versioning
- View Management