PnP.PowerShell 2.1.1 released

Hi All,

Just a few Hours ago, a new Version of PnP.PowerShell has been released to the PowerShell Gallery. There has been a bump to Version 2 since the last Version 1.12 in November 2022.

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

Get-InstalledModule PnP.PowerShell
Find-Module PnP.PowerShell

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

Uninstall-Module PnP.PowerShell
Install-Module PnP.PowerShell
Get-InstalledModule PnP.PowerShell

Does not work in PowerShell 5 anymore

Connect-PnPOnline -Url "https://icewolfch.sharepoint.com/sites/DemoTemplate/" -Interactive

But works fine in PowerShell 7.2.x

Connect-PnPOnline -Url "https://icewolfch.sharepoint.com/sites/DemoTemplate/" -Interactive
Get-PnPContext
Get-PnPFolder -Url "Freigegebene Dokumente/Project/Script"
Get-PnPFileVersion -Url "Freigegebene Dokumente/Project/Script/AADUsers.csv"

Regards
Andres Bohren