PnP PowerShell is a .NET 8 / .NET Framework 4.6.2 based PowerShell Module providing over 650 cmdlets that work with Microsoft 365 environments such as SharePoint Online, Microsoft Teams, Microsoft Project, Security & Compliance, Azure Active Directory, and more.
Last version | Last nightly version |
---|---|
-
latest: The latest stable image
- alpine-3.16.5
docker pull m365pnp/powershell
ordocker pull m365pnp/powershell:latest
-
nightly: The latest night image
- alpine-3.16.5
docker pull m365pnp/powershell:nightly
PnP PowerShell is a .NET 8 based PowerShell Module providing over 650 cmdlets that work with Microsoft 365 environments such as SharePoint Online, Microsoft Teams, Microsoft Project, Security & Compliance, Azure Active Directory, and more.
Starting an isolated container with PnP.PowerShell module installed:
docker run --rm -it m365pnp/powershell:2.4.0-nanoserver-1809
Starting a PnP.PowerShell container with the current directory mounted:
docker run --rm -it -v ${PWD}:c:/app -w c:/app m365pnp/powershell:2.4.0-nanoserver-1809
Starting an isolated container with PnP.PowerShell module installed:
docker run --rm -it m365pnp/powershell
Starting a PnP.PowerShell container with the current directory mounted:
docker run --rm -it -v ${PWD}:/home -w /home m365pnp/powershell
Tags names mean the following:
<version>(-nightly)-<platform>
Currently supported platforms:
- nanoserver-ltsc2022
- nanoserver-1809
- alpine-3.16.5
Tag name examples:
- 1.8.0-nanoserver-ltsc2022
- 1.9.0-nanoserver-ltsc2022
- 1.10.0-nanoserver-1809
- 1.10.0-alpine-3.16.5
- 1.10.26-nightly-nanoserver-ltsc2022
- 1.11.0-alpine-3.16.5
- 1.11.0-nanoserver-ltsc2022
To find the version numbers please visit https://www.powershellgallery.com/packages/PnP.PowerShell
We love to accept contributions.
If you want to get involved with helping us grow PnP PowerShell, whether that is suggesting or adding a new cmdlet, extending an existing cmdlet or updating our documentation, we would love to hear from you.
Checkout our Wiki for guides on how to contribute to this project.
PnP PowerShell is a Microsoft 365 Platform Community (PnP) project. Microsoft 365 Platform Community is a virtual team consisting of Microsoft employees and community members focused on helping the community make the best use of Microsoft products. PnP PowerShell is an open-source project not affiliated with Microsoft and not covered by Microsoft support. If you experience any issues using PnP PowerShell, please submit an issue or open a discussion in the issues list or discussion forum.
THIS CODE IS 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.