A sample powershell script to import a CSV data into a list after deleting the existing items using the client object model. $csv = Import-CSV data.csv $siteUrl = "https://office365 url" $listName = "listName" $userName = "username" $password = Read-Host -Prompt "Enter password" -AsSecureString $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl) $credentials = New-Object ...

Read More