Latest Posts

Client-Side Object Model (PnP PowerShell)


  • SharePoint contains a library of PnP (Patterns and Practices) PowerShell commands that can be used to perform complex operations on SharePoint objects.
  •  
  • These commands use CSOM internally and can be used in SharePoint on-premises as well as in SharePoint online.
  •  
  • One of the advantages PnP PowerShell has that it reduces the code complexity to a good extent.
  •  
  • These operations can be executed from any windows machine that has Windows PowerShell 3.0.
  •  
  • There are various installers available for different versions as described below. You can install them from PowerShell Gallery
  •  
  • SharePoint Version
  • Command To Install
  • SharePoint Online
  • Install-Module SharePointPnPPowerShellOnline
  • SharePoint 2016
  • Install-Module SharePointPnPPowerShell2016
  • SharePoint 2013
  • Install-Module SharePointPnPPowerShell2013
  •  
  • You can get more help on Installation here.
  •  
  • In this set of tutorials, we are going to focus on examples on PnP PowerShell commands.
  •  
  • We have tried to give most of the PowerShell examples that can be used in school teaching, college teaching, learning, research work, development, interview preparation.
© 2024 Code SharePoint