CRUD Operations on SharePoint List Using PnP PowerShell
Softree Technology > Blogs > SharePoint > CRUD Operations on SharePoint List Using PnP PowerShell

CRUD Operations on SharePoint List Using PnP PowerShell

  • Posted by: Softree Technology

PnP PowerShell can be used to Create, Update and Delete of lists in Sharepoint online as well as Sharepoint on-premises.

In this blog, we will look at steps to Create, Update and Delete of SharePoint Generic list from site using PnP PowerShell.

Connect to SharePoint site:
Connect-PnPOnline -Url https://softreetechnology.sharepoint.com/sites/TestsiteCollBibuti

Creating a Generic list:

–> New-PnPList -Title TestGenList -Template GenericList

Updating the Generic list :

–> Set-PnPList -Identity ‘TestGenList’ -Title ‘NewTestGenList’

Deleting the Generic list :

–> Remove-PnPList -Identity NewTestGenList


In the above write-up, I have explained all the PnP PowerShell commands for all operations, such as – creating, updating and deleting SharePoint Generic list from SharePoint site programmatically.

This solution is brought to you by our SharePoint professionals.

SoftreeTechnology employs SharePoint consultants; we are a technology services provider with the aim to help companies achieve exceptional performance through SharePoint. Our dedicated team of SharePoint consultants has the right bent of mind to understand and execute customer requirements.

Be it SPFx or SharePoint add-in developments, SharePoint 2019 developments, web part developments, migrating from SharePoint 2010/2013 to SharePoint 2013/2016/Office 365, Office 365, SharePoint hosted apps development or something else in SharePoint, we strive to deliver the best

Author: Softree Technology

Leave a Reply