If you’ve updated a date column with Set-PnPListItem, you’ve probably seen SharePoint show the wrong time. I passed “11/20/2026 14:30” and my list showed 6:30 AM.
To update an item in a SharePoint list with PowerShell, run Set-PnPListItem with the item’s ID and a -Values hashtable that uses each column’s internal name. The catch is that every column type wants its value in a slightly different shape.
In this tutorial, we’ll cover every update item in SharePoint list PowerShell pattern I use: choice and multi-choice, hyperlink, date and time, yes/no and number columns, plus -UpdateType, bulk updates from a CSV file and New-PnPBatch.
Every result below comes from a real run in my SharePoint Online tenant with PnP PowerShell 3.3 in PowerShell 7.
The sample list we’ll use
All examples update the same list, SPGDemo Equipment, with 25 laptops and monitors. I added six columns to it, one per column type. If you want to build a similar list, here’s how to create a SharePoint list and add columns with PnP PowerShell.
| Display name | Internal name | Type |
|---|---|---|
| Upd Status | UpdStatus | Choice |
| Upd Tags | UpdTags | Choice (multiple selections) |
| Upd Manual | UpdManual | Hyperlink |
| Upd Service Date | UpdServiceDate | Date and time |
| Upd Active | UpdActive | Yes/No |
| Upd Cost | UpdCost | Number |
Notice the space in the display names. That matters, because -Values only accepts internal names. Here’s what happens when I use the display name, and how I look up the right names:

The error says the column “does not exist”, even though you can see it in the browser. Get-PnPField shows the real names. For more ways to find them, see getting SharePoint column internal names with PnP.
How to update an item in a SharePoint list with Set-PnPListItem
First, connect to the site. You need your own Entra ID app’s client ID, which I explain in connecting to SharePoint Online with PowerShell. Then pass the list, the item ID and the new values:
Connect-PnPOnline -Url "https://spguides.sharepoint.com/sites/SPGuides" -ClientId "<your-client-id>" -Interactive
# Update item ID 1: one or more columns, by internal name
Set-PnPListItem -List "SPGDemo Equipment" -Identity 1 -Values @{
"Title" = "Dell Latitude 7450"
"UpdStatus" = "In Use"
}
How does this work?
-List takes the list title, URL or ID. -Identity takes the item ID or an item you got from Get-PnPListItem.
-Values is a hashtable, so you can change one column or ten in a single call. Columns you leave out keep their values. For reading and deleting items too, see CRUD operations on list items with PnP PowerShell.
Method 1: Update a choice and multi-choice field
A single choice column takes one string. A multi-choice column takes an array, so separate the values with commas:
Set-PnPListItem -List "SPGDemo Equipment" -Identity 1 -Values @{
"UpdStatus" = "In Use" # choice: one string
"UpdTags" = "Remote", "Encrypted" # multi-choice: an array of strings
}
After the run, item 1 shows In Use and two tags:

How does this work?
SharePoint stores the multi-choice values together, and PnP returns them as a string array. That’s why I join them with -join "; " to print them.
Passing one value to a multi-choice column replaces all existing selections. To add a tag, read the current values first, add yours, then write the full array back.
So here’s the catch: Set-PnPListItem doesn’t check the value against the choice list. I passed “Broken”, which isn’t one of the four choices, and it was saved without an error. Check spelling in your script, or compare against (Get-PnPField -List $list -Identity UpdStatus).Choices. My tips on customizing list fields with PnP PowerShell show how to change those choices.
Method 2: Update a hyperlink field with a description
A hyperlink column takes one string: the URL, a comma, a space, then the text people see. Here’s the update for item 2, plus how to clear a link:
Set-PnPListItem -List "SPGDemo Equipment" -Identity 2 -Values @{
"UpdManual" = "https://www.dell.com/support, Dell monitor support"
}
# Clear a hyperlink (works for any column type)
Set-PnPListItem -List "SPGDemo Equipment" -Identity 6 -Values @{ "UpdManual" = $null }

How does this work?
PnP splits the string at the first comma and space. The part before becomes Url and the rest becomes Description, exactly as the output shows.
If you pass only a URL, SharePoint uses the URL as the description too. Setting the value to $null empties the column, and that works for every type in this post.
Method 3: Update a date and time field
This is the one from the intro. I wrote the same date and time twice, once as a plain string and once as a [datetime] value, and compared what SharePoint shows:

How does this work?
SharePoint stores every date in UTC and shows it in the site’s time zone, which is Pacific on my site; you can check yours in SharePoint site regional settings. The plain string was treated as UTC, so 14:30 UTC showed as 6:30 AM.
The [datetime] value was treated as site time, so it was stored as 22:30 UTC and showed 2:30 PM, the time I meant. A string with an offset such as 2026-11-20T14:30:00-08:00 gave the same correct result.
# Saved in the site's time zone -> SharePoint shows 2:30 PM
Set-PnPListItem -List "SPGDemo Equipment" -Identity 3 -Values @{
"UpdServiceDate" = [datetime]"11/20/2026 14:30"
}
Pro Tip: Cast dates to [datetime] in every script. It also fixes CSV dates, because Import-Csv reads every value as text.
Method 4: Update yes/no and number fields
These two are the easiest. A yes/no column takes $true or $false, and a number column takes a number with no currency symbol or thousands separator:
Set-PnPListItem -List "SPGDemo Equipment" -Identity 4 -Values @{
"UpdActive" = $true # Yes/No
"UpdCost" = 249.5 # Number (Currency columns work the same way)
}

How does this work?
Reading item 4 back gives a real Boolean and a Double, so you can compare them in later scripts without converting text. Currency columns work the same way: pass 249.5, not “$249.50”.
Keep Modified and versions with -UpdateType
By default every update creates a new version (when versioning in SharePoint Online is on) and stamps Modified and Modified By. For clean-up jobs you often don’t want that. -UpdateType has three options:
| -UpdateType | New version? | Modified / Modified By | Power Automate flows |
|---|---|---|---|
| Update (default) | Yes, if versioning is on | Updated to now and you | Triggered |
| SystemUpdate | No | Not changed (and can’t be set) | Not triggered |
| UpdateOverwriteVersion | No | Can be set by you in -Values | Triggered |
# Fix a value without a new version or a new Modified date
Set-PnPListItem -List "SPGDemo Equipment" -Identity 5 -Values @{ "UpdCost" = 110 } -UpdateType SystemUpdate
I ran all three on item 5 and printed its version and Modified time after each one:

How does this work?
Update moved the item from version 12.0 to 13.0 and changed Modified. SystemUpdate kept 13.0 and the same Modified time. UpdateOverwriteVersion also stayed on 13.0 but changed Modified, because it rewrites the last version.
Method 5: Update list items from a CSV file
For bulk changes I keep the new values in a CSV file, one row per item. Each row has a key column, here AssetTag, that matches a column in the list:
AssetTag,Status,Tags,ManualUrl,ManualText,ServiceDate,Active,Cost
EQ-1001,In Use,Remote;Encrypted,https://www.dell.com/support,Dell Latitude support,12/01/2026 09:00,Yes,1429
EQ-1002,In Use,Docking Station,https://www.dell.com/support,Dell monitor support,12/01/2026 09:30,Yes,379.99
EQ-1003,In Repair,Remote;Encrypted,https://support.lenovo.com,Lenovo support,12/02/2026 10:00,No,1689
EQ-1004,Available,Loaner,https://support.lenovo.com,Lenovo support,12/02/2026 11:00,Yes,0
EQ-1005,Retired,,https://support.hp.com,HP support,,No,0
The script below reads the CSV, finds each item’s ID by its asset tag and updates all six columns in one call per row:
$list = "SPGDemo Equipment"
$rows = Import-Csv -Path "C:\SPGuidesDemo\equipment-updates.csv"
# Map AssetTag -> item ID once, instead of one query per row
$ids = @{}
Get-PnPListItem -List $list -PageSize 500 -Fields "AssetTag" |
ForEach-Object { $ids[$_["AssetTag"]] = $_.Id }
foreach ($row in $rows) {
$id = $ids[$row.AssetTag]
if (-not $id) { Write-Warning "$($row.AssetTag) not found"; continue }
$values = @{
"UpdStatus" = $row.Status
"UpdTags" = @($row.Tags -split ";" | Where-Object { $_ })
"UpdManual" = "$($row.ManualUrl), $($row.ManualText)"
"UpdActive" = ($row.Active -eq "Yes")
"UpdCost" = [double]$row.Cost
"UpdServiceDate" = if ($row.ServiceDate) { [datetime]$row.ServiceDate } else { $null }
}
Set-PnPListItem -List $list -Identity $id -Values $values | Out-Null
"Updated {0} (ID {1}): {2}" -f $row.AssetTag, $id, $row.Status
}

How does this work?
Looking up the IDs once with Get-PnPListItem is much faster than querying the list for every row. Rows with an unknown asset tag print a warning and the loop continues.
Each CSV value is text, so the script converts it to the right shape: split the tags, join URL and description, turn Yes into $true, and cast numbers and dates. EQ-1005 has no date and no tags, so those columns were cleared. If your data starts in Excel, see adding bulk data from Excel to a SharePoint list.
Method 6: Update many items faster with New-PnPBatch
A plain loop sends one request per item. With a batch, you queue the updates with -Batch and send them together with Invoke-PnPBatch:
$list = "SPGDemo Equipment"
$items = Get-PnPListItem -List $list -PageSize 500 -Fields "AssetTag"
$batch = New-PnPBatch
foreach ($i in $items) {
Set-PnPListItem -List $list -Identity $i.Id -Values @{ "UpdActive" = $true } -Batch $batch
}
Invoke-PnPBatch -Batch $batch
I timed both ways on all 25 items:

How does this work?
The loop took 17.4 seconds and the batch took 7.3 seconds for the same 25 items. That’s why I batch anything over a few hundred items, as in adding more than 5000 items with PnP PowerShell.
By default the whole batch runs even if one item fails. Add -StopOnException to stop at the first error, or -Details to get a result for every request.
Pro Tip: Use the same batch pattern with Add-PnPListItem when you create items. I show that in adding SharePoint list items with PnP PowerShell.
Which method should you use?
| Situation | Use |
|---|---|
| Change one item or test a value format | Set-PnPListItem -Identity <ID> -Values @{…} |
| Fix data without new versions or flow runs | Add -UpdateType SystemUpdate |
| New values come from a spreadsheet | Import-Csv loop (Method 5) |
| Hundreds or thousands of items | New-PnPBatch + Invoke-PnPBatch, alone or inside the CSV loop |
Things to Keep in Mind
- “Column does not exist”: you used a display name. Look up the internal name with Get-PnPField.
- Dates off by several hours: you passed a plain string. Cast it to [datetime] so it’s saved in the site’s time zone.
- Multi-choice values disappear: a new array replaces the old selections. Read, merge and write back.
- Wrong choice saved: Set-PnPListItem accepts values that aren’t in the choice list, so validate them first, or allow them on purpose with a choice column with fill-in options.
- A flow didn’t run: SystemUpdate never triggers Power Automate. Use Update or UpdateOverwriteVersion when the flow must fire.
Working on more list scripts? These guides cover the next steps:
Frequently Asked Questions
How do I update an item in a SharePoint list using PowerShell?
Connect with Connect-PnPOnline, then run Set-PnPListItem -List “List name” -Identity <ID> -Values @{“InternalName” = “value”}. The Set-PnPListItem reference lists the value format for every column type.
How do I update a choice field with PnP PowerShell?
Pass the choice text as a string, for example @{“Status” = “In Use”}. For a multi-choice column, pass an array such as “Remote”, “Encrypted”; it replaces the existing selections.
How do I update a hyperlink field with PowerShell?
Pass one string with the URL, a comma and a space, then the description: “https://www.dell.com/support, Dell support”. Without a description, SharePoint shows the URL as the link text.
Why does my date field show the wrong time after the update?
A plain date string is saved as UTC, and SharePoint then converts it to the site’s time zone. Cast the value to [datetime] and it’s saved in the site’s time zone instead.
How do I update list items from a CSV file without changing Modified?
Loop through Import-Csv, build the -Values hashtable per row and add -UpdateType SystemUpdate. For large files, queue the updates with New-PnPBatch and run Invoke-PnPBatch.

Hey! I’m Bijay Kumar, founder of SPGuides.com and a Microsoft Business Applications MVP (Power Automate, Power Apps). I launched this site in 2020 because I truly enjoy working with SharePoint, Power Platform, and SharePoint Framework (SPFx), and wanted to share that passion through step-by-step tutorials, guides, and training videos. My mission is to help you learn these technologies so you can utilize SharePoint, enhance productivity, and potentially build business solutions along the way.