How do I find and replace text in all my SharePoint docs? Old URL with New URL using PowerShell script

Srinivasa Reddy k 0 Reputation points
2023-05-30T11:01:43.8666667+00:00

After migration from SharePoint 2013 to SharePoint 2019. How do I find and replace text in all my SharePoint docs? from old url to new url which are hardcoded inside documents.

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. Ling Zhou_MSFT 23,620 Reputation points Microsoft External Staff
    2023-05-31T10:11:21.62+00:00

    Hi @ Srinivasa Reddy k

    Unfortunately, SharePoint does not have an efficient tool or PowerShell command to find or replace old URLs in documents currently. Maybe you can look for other three-party software to solve this problem. Thank you for your consideration.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.