Introducing our new CEO Don Johnson - Read More

m365pnp/powershell

Sponsored OSS

By Microsoft 365 Patterns and Practices

Updated about 3 hours ago

Image
Languages & Frameworks
Integration & Delivery
Security
9

10K+

PnP.Powershell

Featured tags

Latest
  • latest: The latest stable image

    • alpine-3.14
    • docker pull m365pnp/powershell or docker pull m365pnp/powershell:latest
Nightly
  • nightly: The latest night image

    • alpine-3.14
    • docker pull m365pnp/powershell:nightly

About this image

PnP PowerShell is a .NET Core 3.1 / .NET Framework 4.6.1 based PowerShell Module providing over 600 cmdlets that work with Microsoft 365 environments such as SharePoint Online, Microsoft Teams, Microsoft Project, Security & Compliance, Azure Active Directory, and more.

Usage examples

Windows-container

Starting an isolated container with PnP.PowerShell module installed:

docker run --rm -it m365pnp/powershell:1.10.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:1.10.0-nanoserver-1809
Linux-container

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

Tag explanation

Tags names mean the following:

<version>(-nightly)-<platform>

Currently supported platforms:

  • nanoserver-ltsc2022
  • nanoserver-1809
  • alpine-3.14

Tag name examples:

  • 1.8.0-nanoserver-ltsc2022
  • 1.9.0-nanoserver-ltsc2022
  • 1.10.0-nanoserver-1809
  • 1.10.0-alpine-3.14
  • 1.10.26-nightly-nanoserver-ltsc2022

To find the version numbers please visit https://www.powershellgallery.com/packages/PnP.PowerShell

Feedback

  • To give feedback for PnP.PowerShell or for how the images are built, file an issue at PnP/PowerShell

Docker Pull Command

docker pull m365pnp/powershell