Not a programmer, but need to get a job done.
Using Powershell and CSOM I've found examples and been able to import CSV into a list as new items. That is working. Here is a code snippet I'm using that comes after I already got the list:
[Microsoft.SharePoint.Client.Web]$web = $context.Web
[Microsoft.SharePoint.Client.List]$list = $web.Lists.GetByTitle($listName)
foreach ($row in $csv) {
[Microsoft.SharePoint.Client.ListItemCreationInformation]$itemCreateInfo = New-Object Microsoft.SharePoint.Client.ListItemCreationInformation;
[Microsoft.SharePoint.Client.ListItem]$item = $list.AddItem($itemCreateInfo);
$item["Title"] = $row.Title; ..... etc.
This works great to add new items to the list. However, now I need to update existing items in the list and can't seem to find any examples specific to what I'm using. Seems like it might be the Microsoft.Sharepoint.Client.ChangeItem, but I don't know how to use it.
Examples from MSDN, ChangeItem class etc show C# and VB. Thanks if anyone has an answer.