The Wayback Machine - https://web.archive.org/web/20240108130919/https://github.com/pnp/script-samples
Skip to content

pnp/script-samples

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 9, 2023 13:51
November 21, 2021 19:40
January 3, 2024 21:55
May 13, 2021 08:30
October 23, 2023 21:14
August 13, 2021 08:32

Welcome to Script Samples

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 the main site, rather than the repository, please visit: https://pnp.github.io/script-samples

Check out our YouTube Video: Introducing Script Samples

Authors

This repository's contributors are all community members who volunteered their time to share code samples. Work is done as an open source community project, which each sample contained in their own solution.

Contributions

These samples are direct from the feature teams, PnP team (https://aka.ms/m365pnp) or shared by the community. We welcome your input on issues and suggestions for new and existing samples. We welcome community contributions for sample scripts. If you have any questions, just let us know.

We are looking for contributions in the following areas:

  • Create a new scenario with a script
  • Update a scenario with an alternative script using another tool e.g. Adding a PnP PowerShell script to a scenario that only has CLI for Microsoft 365.
  • Feedback on the usability of the site, we are always looking to improve the experience.

In this repo, we are created a template submission folder and files, complete the readme, add any screenshots and submit your GitHub Pull Request, please contact us via issues list to communicate what your planning.

Check out our Contribution Guidance before submitting your pull requests, so that we can get your contribution processed as fast as possible.

If you need any support or want to know how to use GitHub then we have a great programme to support new contributors | sharing is caring.

Code of Conduct

This repository has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Disclaimer

THESE SAMPLES ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.

Sharing is caring!