Hi ,
I am working on a migration project where we migrate the site from SP 2007 to SP 2010. In one of my site i have a survey which has property as "Survey Name" , "Survey Description" "Time Created","Number of response". But while migration the "Time
Created" value is migrated wrong.
Now i need to write a powershell script to update property "Time Created" for the survey. How can i update it using PowerShell script?
I worked with Created Property but didnt worked as it is Redaonly....
if($SPList.Title -eq "Brilinta Week 1 Feedback") #change library/list name according to your requirement
{
Write-host "List is found"
$SPListItemCollection = $SPList.Items
Write-host $SPList.Created
$SPList.Created =[System.DateTime]::ParseExact("19/05/2011 10:09:00" ,"dd/MM/yyyy HH:mm:ss",$Culture)
#$SPList.Fields["Created"].Update();
#$SPList.WriteSecurity = 2;
Write-host "Done"
}