In this article, we will know about “How to Install PnP PowerShell on a computer”, please read whole blog to get a better understanding of the same.
This solution contains a library of PowerShell commands that allows you to perform complex provisioning and artifact management actions towards SharePoint.
These commands use a combination of CSOM and REST behind the scenes.
Kindly follow the below steps to install SharePoint PnPPowershell on your computer.
Applies to: SP 2013, 2016 and Online
How to Install PnP PowerShell on computer
There are 3 ways to install the cmdlets. We recommend, where possible, to install them from the PowerShell Gallery.
Alternatively, you can run a PowerShell script to download the commands. Get-module and install the cmdlets used for it.
If you have a Windows 10 operating system, or PowerShellGet already installed on your computer.
at that time you can run the below commands to install the PowerShell.
|SharePoint Version||Command to install|
Every month a new release will be made available of the PnP PowerShell Cmdlets.
If you already installed the cmdlets using the setup file, simply download the latest version and run the setup. This will update your existing installation.
If you have installed the cmdlets using PowerShellGet with
Install-Module from the PowerShell Gallery then you will be able to use the following command to install the latest updated version:
This will automatically load the module after starting PowerShell 3.0.
Get-Module SharePointPnPPowerShell* -ListAvailable| Select-Object Name,Version| Sort-Object Version -Descending
Now, I hope you enjoyed this article and got to know about How to Install PnP PowerShell on a computer.
visit SharePointGems for more tutorials
you can find more blogs at SharePointwale