We have a project where we want to export from PW to a file system, and rewrite the reference links to be maintained within that file system. We have attempted to use Send-to with the "Update documents to use local paths for references and links" toggle checked. However, it does not correctly update the links to references in other folders. We also tried to run the Import/Export wizard. While this does update the reference links correctly, it does not export all folders and substructure within some folders. For example, this is a 84GB project, 24GB did not export, and some folders merely contained PDFs. We are quickly running out of options. Can a PowerShell cmdlet accomplish this goal?
Not sure if this is a true consideration in your case but the exported document path(s) cannot exceed the Windows character limit 255.
Actually after I wrote this I remembered that it (Export feature) should notify you if the path exceeds the limitation so probably not what's happening to you.This would be a cool feature (cmd-let) to be added or updated to include relinking references via Powershell.