Quick weekend project: published and shipped to PowerShell Gallery using Claude Code!

If you’ve ever migrated file shares to SharePoint Online, with the SharePoint Migration Tool (SPMT), you know the pain and feeling of your stomach dropping when you see hundreds of INVALID_SHAREPOINT_NAME warnings for your files after your initial scans.

Repair-SharePointNames fixes them in bulk, driven by SPMT’s provided scan logs. It renames flagged items safely (collision handling, deepest-path-first ordering), quarantines lock/temp files rather than deleting them, and writes a proper transaction log of all changes.

The Claude really excelled at finding and resolving 7 major bugs that would eventually bite someone, created a 60-test Pester suite, and established build tests for PowerShell 5.1 and 7.

Install it: Install-Script -Name Repair-SharePointNames Source & Docs: https://lnkd.in/gNGndTwj

Looking for feedback and issue reports 😁 Let me know what you think!