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

1
  • 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. Dec 26, 2016 at 9:38

2 Answers 2

3

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);

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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