To use PnP.PowerShell in a Windows container: docker run -it m365pnp/powershell:1.10.0-nanoserver-1809
If you want to install the latest nightly build prerelease of PnP PowerShell for the current user, run: Install-Module PnP.PowerShell -Scope CurrentUser -AllowPrerelease -SkipPublisherCheck You can run the following commands to install the latest stable PowerShell cmdlets for the current user: Install-Module PnP.PowerShell -Scope CurrentUser It is available for Windows, Linux and Mac and can be installed through here. You need PowerShell 7.2 or later to use PnP PowerShell.