Table of Contents

PnP PowerShell

A library of PowerShell commands that allows you to perform complex provisioning and artifact management actions towards SharePoint. The commands use a combination of CSOM and REST behind the scenes, and can work against both SharePoint Online as SharePoint On-Premises.

Installation

Install-Module SharePointPnPPowerShellOnline
Update-Module SharePointPnPPowerShell* 

Getting Started

Connect-PnPOnline –Url https://yoursite.sharepoint.com –Credentials (Get-Credential)
Get-Command -Module *PnP*