Sum Wum
asked on
Powershell - Copy file from network drive to Sharepoint library - Keep modified date
Hi,
Is it possible to copy a PDF-file from a Network share into a SharePoint library and keeping the modified date, with powershell? So Sharepoint shows the lastwritetime as the modified date?
Is it possible to copy a PDF-file from a Network share into a SharePoint library and keeping the modified date, with powershell? So Sharepoint shows the lastwritetime as the modified date?
ASKER
It's about 700 files, so that's a no go :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$file.Item["Modified"] = datetime
item.Update();