I'm facing a problem where I'm successfully retrieving the list item, but I can't modify the description of the URL field based on another column for all list items in SharePoint URL using PowerShell,
Here's the code I'm using, but it's not working
$webUrl = "https://yoursite.sharepoint.com/sites/yoursite"
$listTitle = "YourListName"
$itemId = 123
$web = Get-SPWeb $webUrl
$list = $web.Lists[$listTitle]
$item = $list.GetItemById($itemId)
# Attempt to update the description of the URL field
$item["URL_x0020_Field"] = "New Description"
$item.Update()
Any idea How can I update the description of a URL field based on another field for all items in a SharePoint list using PowerShell?