Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell sharepoint 2010 update item

$spWeb = Get-SPWeb -Identity http://yourdomain/sites/config
$spList = $spWeb.Lists["AppSettings"]
$spItem = $spList.GetItemById(10013) //or another way that you prefer.
$spItem["Name"] = "MyName"
$spItem.Update()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #powershell #sharepoint #update #item
ADD COMMENT
Topic
Name
8+5 =