Because the company's system is a bit small bug. Well, to do something bad, the system did not remember the things secretly fill up, but the item created by into me (this How to do, can not let others know I did bad things, must be next door Xiao Li dry!
Too lazy to open Visual Studio to write code. Secretly write a section PowerShell script change it, study it, get it done!
$snapin = Get-pssnapin | Where-object {$_. Name-eq ' Microsoft.SharePoint.Powershell '}
if ($snapin-eq $null)
{
Write-host "Loading SharePoint Powershell Snapin ..."
Add-pssnapin "Microsoft.SharePoint.Powershell"
Write-host "SharePoint Powershell Snapin Loaded"
}
# Get Site and Web
$site = New-object Microsoft.SharePoint.SPSite ("Http://yoursite")
$web = $site. RootWeb
# Get List
$list = $web. lists["ListName"]
$item = $list. GetItemByID (XXX)
Write-host-f Yellow $item ["Author"]
Write-host-f Yellow $item ["editor"]
Write-host-f Yellow $item ["Created"]
Write-host-f Yellow $item ["Modified"]
$item ["Author"] = "123;# Xiao Li"
$item ["editor"] = "123;# Xiao Li"
$item ["Created"] = "3/31/2015 10:35:15 AM"
$item ["Modified"] = "3/31/2015 10:35:15 AM"
$item. Update ()
#问题就是上面这段123; # Xiao Li, with ad or direct name are not, will report readonly field error, id+ name just right, wow haha haha, xiao Li is you!
$web. Update ()
$web. Dispose ()
Modify the item Created by information in SharePoint 2013