SharePoint - Modified Value in sharepoint - Asked By Max Salunkhe on 14-Mar-12 05:19 AM

http://social.technet.microsoft.com/Forums/en-US/sharepoint2010general/thread/1499a4e8-4f2c-4f38-a42d-ea2e140d87e5

kalpana aparnathi replied to Max Salunkhe on 14-Mar-12 05:48 AM
hi,

Use simple PowerShell code to do this:
$web = Get-SPWeb http://url
$list = $web.lists["List Name"]
$item = $list.items.getitembyid(2)
$modifiedBy = $item["Editor"]
$item["Title"] = "Modified in PowerShell"
$item["Editor"] = $modifiedBy
$item.Update()
$list.Update()
$web.Dispose()
Regards,
Jitendra Faye replied to Max Salunkhe on 14-Mar-12 07:07 AM
Refer this link-

http://sharepointryan.com/2011/12/02/preserve-modified-by-values-while-editing-list-items-using-powershell/

Here you will get example for this.