Tramite il modello ad oggetti di SharePoint 2010 è possibile aggiornare i campi Created By (Author) e Modified By (Editor) non accessibili da interfaccia utente.

Ecco un esempio in PowerShell 2.0:
PowerShell
$w = Get-SPWeb http://sharepoint2010.sgart.local/site1
$l = $w.Lists["list1"]
$i = $l.Items[0]
$i["Author"]= $w.EnsureUser("DOMINIO\user1")
$i["Editor"]= $w.EnsureUser("DOMINIO\user2")
$i.Update()
Testato sulle liste e non sulle document library
Potrebbe interessarti anche: