PnP.PowerShell 2.4 released

PnP.PowerShell 2.4 released

Hi All,

Yesterday a new Version of PnP.PowerShell has been released to the PowerShell Gallery.

What’s changed and fixed

I am using the new PSResourceGet here instead of the PowerShellGet commands.

To check what version is installed and what’s available from the PowerShell Gallery use the following Commands

Get-InstalledPSResource PnP.PowerShell -Scope AllUsers
Find-PSResource PnP.PowerShell

Uninstall the old version of the PowerShell Module and install the new one

Uninstall-PSResource PnP.PowerShell -Scope AllUsers
Install-PSResource PnP.PowerShell -Scope AllUsers
Get-InstalledPSResource PnP.PowerShell -Scope AllUsers

Note: PNP.PowerShell does not work in PowerShell 5.x anymore

Works fine in PowerShell 7.x

Connect-PnPOnline -Url "" -Interactive

Get-PnPFolder -Url "Freigegebene Dokumente/Project/Script"
Get-PnPFileVersion -Url "Freigegebene Dokumente/Project/Script/AADUsers.csv"

Or you can simply use my M365PSProfile Module - find the Documentation here:

Install-PSResource -Name M365PSProfile

Andres Bohren

PowerShell Logo