1

Actually I'm working on PowerShell script using that I'm trying to update list item Modified By and Modified filed value without changing version.

Is it possible to do that using PoweShell ?

Please suggest some script

  • How about turning the versioing off on the list before the script starts the modification process and have it turned on at the end once processing is finished. – Nadeem Yousuf Dec 26 '16 at 9:38
2

Try updating the item as below:

item.UpdateOverwriteVersion();

UpdateOverwriteVersion()

  1. No new version.
  2. Updates the item without creating a new version of the item

  3. Updates the modified time and modified by fields

0

You should be updating the item with : item.SystemUpdate($false);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.