Hi,
I am trying to update createdBy field using powershell for pages in pages library and also for documents in documents library.I tried to update createdBy field for a page in pages library .
Below is my code for updating createdBy:

Above code is working for list item (custom lists) but not for Pages and documents in Pages library and Document library

Nanddeep NachanRank #38 · 35.2K reputationPosted Aug 8, 2018, 2:26 AM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Aug 8, 2018, 2:30 AM EDT
SwethaRank #9,026 · 212 reputationPosted Aug 8, 2018, 2:30 AM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Aug 8, 2018, 2:32 AM EDT