Skip to content
Contact us

PnP.PowerShell installation

It is available heere

Winget: The Microsoft recommended installation procedure is here

To install PowerShell 7 run PowerShell.exe in administrator mode and run this command : winget install --id Microsoft.Powershell --source winget

Here is the PnP installation page

Remember the execution policy: PnP.PowerShell loads only under a policy that allows modules, such as RemoteSigned — Restricted, the default on Windows 11, blocks it. In PowerShell started as administrator: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine (why · Microsoft: Set-ExecutionPolicy)

If you want to customize the PowerShell modules you also need Visual Code (VSCode) Download here