Skip to content

Latest commit

 

History

History
97 lines (59 loc) · 3.59 KB

hub.docker.md

File metadata and controls

97 lines (59 loc) · 3.59 KB

PnP.Powershell

PnP PowerShell

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
PnP.PowerShell PnP.PowerShell

Latest

  • latest: The latest stable image

    • alpine-3.16.5
    • docker pull m365pnp/powershell or docker pull m365pnp/powershell:latest

Nightly

  • nightly: The latest night image

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

About this image

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.

Usage examples

Windows-container

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

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.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

Contribute

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.

Microsoft 365 Platform Community

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.

Disclaimer

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.