Wednesday, February 1, 2017

PnP.Core from PowerShell

So far I have been talking about using PnP.Core from a C# command line tool. I love C#, so I gravitate to that for programming. However, you can also use the PnP.Core libraries directly from PowerShell. There is a PnP.PowerShell project that wraps the PnP.Core in Cmdlets that you can use directly.  Simply go and download the latest MSI package for your environment and install it.  You accept the license:
PnP.PowerShell License
Run a PowerShell session as Administrator:
PowerShell as Administrator

Install the module with the following command:


        Install-Module SharePointPnPPowerShell2013 -AllowClobber

Accept that the repository may not be trusted:
And start using the library.

No comments:

Post a Comment