This project is read-only.

PowerShell Fix MS Word Broken Links

The PowerShell script will fix broken hyperlinks for MS Word documents in SharePoint a document library. If you have MS Word documents that have links to other Word documents in a file share this script will fix the hyperlinks after migrating them to SharePoint.


  • One or more SharePoint Document Libraries with MS Word documents.



Run the PowerShell script on the SharePoint server. The script will iterate through all MS Word Documents and search for hyperlinks. For each hyperlink found it will query all documents in the entire site collection by filename such as doc1.docx. If it finds a hyperlink to a file such as e:\fileshare\doc1.docx the hyperlink will be changed to http://server/sites/site1/My SharePoint Library/doc1.docx.

Last edited Jul 10, 2013 at 3:05 PM by mgodbold, version 1


No comments yet.