Tag: Create multiple items in SharePoint online list using PowerShell CSOM

How to create multiple items in SharePoint online list using PowerShell CSOM?

Here in this post, I will show how to create multiple list items in SharePoint online list usingĀ  PowerShell CSOM code. PowerShell CSOM code to add multiple items: CLS #Load SharePoint CSOM Assemblies #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” $fileName = “Adding_Multiple_Items_Report” $enddate = (Get-Date).tostring(“yyyyMMddhhmmss”)

Continue reading