PowerShell Command to find duplicate documents in SharePoint Online

Ajay Mandal 21 Reputation points
2025-03-09T22:44:46.35+00:00

We have lot of duplicate documents in our SharePoint online. Looking for help from the community. Can PowerShell command be used to do the following?

  1. Identify duplicate documents on each site/library.
  2. Move them to a another library where they can be reviewed and purged as necessary.
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,859 questions
0 comments No comments
{count} votes

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.