I have a list with a list item/column 'Category'. Let's say Category has values 'A','B', and 'C'.
I want to find all the values which are 'A' and replace it with 'B'. How should I do it?
I tried the following code but list item is a column. It gives me an error mentioned below code:
ForEach($Item in $ListItems)
{
$item["A"] = "B";
$item.Update();
}
The error:
"Column A does not exist. It may have been deleted..."
How can I solve this?