Today I started to use PnP Powershell for my day to day activities. It is very simple and great after start using it and very lighter, when compared with other APIs. This PnP Powershell is built using SharePoint CSOM against SharePoint Online & On-Premise environment.
In this blog, I’m giving you an example based on SharePoint online. So I have installed the online module called “SharePointPnPPowerShellOnline”.
In the below example command, I’ll be updating the title value for the SharePoint website.
PS:> Set-PnPWeb -Title "My Work"