# script-samples

A gallery of sample scripts to manage all things Microsoft 365 in Bash or PowerShell using tools like PnP PowerShell, CLI for Microsoft 365, Graph SDK and many more.

Canonical page: https://www.reposhelf.co.uk/projects/github/pnp/script-samples.html

- Project ID: pnp/script-samples
- Source: GitHub
- Original project: https://github.com/pnp/script-samples
- Description attribution: project author metadata
- Categories: Developer tools
- Technologies: Not recorded
- Licence: MIT
- Repository availability checked: 2026-11-20T16:34:35.962Z
- Demo page loaded: 2026-11-20T18:02:39.626Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> This repository contains scripts for PnP PowerShell, CLI for Microsoft365, Graph SDK PowerShell, SPO PowerShell, and Azure CLI, that are based on real world examples of the scripts that you run to perform tasks.

> If you are looking for all the scenario and scripts, we have over 300+, rather than view the repository, please visit: as this has a navigation and filtering experience to help you better find the content you are seek.

> What is PnP Script Samples? Check out our YouTube Video for an overview:



## Author-documented requirements and audience

> This repository contains scripts for PnP PowerShell, CLI for Microsoft365, Graph SDK PowerShell, SPO PowerShell, and Azure CLI, that are based on real world examples of the scripts that you run to perform tasks.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/pnp/script-samples/blob/main/README.md

Extraction checked: 2026-10-20T19:40:36.605Z

Last recorded source update: 2026-11-16T05:44:34.000Z

Saved release: Not recorded. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=pnp%2Fscript-samples). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
