Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to write a PowerShell script that goes through every item in a document library and updates the "Manage Copies" destination URL to a new location.

Is there any way to achieve this programmatically?

Thanks for any help!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

You can access a list item's all Copy To -urls using Item.CopyDestinations.

You can then loop through the CopyDestinations and update each one. After you are done, call Item.Update() as normal.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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