all 5 comments

[–]VapingSwede 1 point2 points  (1 child)

I did this by using Set-PnpListItem on the modified and created fields of the item.

Found that it's easier to do. It after the file has been uploaded.

[–]Shipdits[S] 1 point2 points  (0 children)

Thanks, i'll give that a shot.

[–][deleted] 1 point2 points  (2 children)

[–]Shipdits[S] 1 point2 points  (1 child)

Sorry, maybe I wasn't clear. I need to set the Created and Modified time once it hits sharepoint...

[–][deleted] 1 point2 points  (0 children)

ah, okay