How to Update Your PnP Module in PowerShell
Learn how to easily update your PnP module in PowerShell with these simple steps.
784 views
To update your PnP module, follow these steps: Open PowerShell as an administrator and run: `Update-Module -Name PowerShellGet -Force`. Then, execute: `Update-Module -Name SharePointPnPPowerShellOnline`. This ensures you have the latest features and security patches.
FAQs & Answers
- What is the PnP module in PowerShell? The PnP module provides a set of commands for managing SharePoint Online sites and features using PowerShell.
- How often should I update my PnP module? It's recommended to update the PnP module regularly to benefit from the latest features and security patches.
- Can I use PnP PowerShell for SharePoint On-Premises? Yes, PnP PowerShell can be used for both SharePoint Online and SharePoint On-Premises environments.