I have a SharePoint list that has lots of columns and a priority column.
Now it used to be a high - medium - low column.
However last year they changed the ideas behind that, and we have now 1,2,3,4 as priority.
Its all working nice, but when I now filter on items the old values still appear. They should translate high=1
and medium = 2
and low = 4
The problem there are a lot of records, I need a way to automatically update those values. And only change them if they have the old high-medium-low status.
Update some code, as related to powershell scripting this Some how this code doesnt work i dont see whats wrong with it. Its just a first step to only show something so i see the lists is traversed
Add-PSSnapin Microsoft.SharePoint.PowerShell
$webURL = "https://infodesk.company.com"
$listName = "Tickets"
$web = Get-SPWeb -site $webURL
$list = $web.Lists[$listName]
$items = $list.items
Foreach($item in $items)
{
Echo $item
}