Repair-SharePointNames

1.0.0

Processes only items flagged as INVALID_SHAREPOINT_NAME in a consolidated
migration-warnings.csv generated from SPMT assessment scan logs. It never
scans the filesystem on its own, so only items SPMT actually flagged are
touched.

Temp/system files (Office lock files, desktop.ini, InDesign lock files) are
moved to a quarantine folder, preserving their relative folder
Processes only items flagged as INVALID_SHAREPOINT_NAME in a consolidated
migration-warnings.csv generated from SPMT assessment scan logs. It never
scans the filesystem on its own, so only items SPMT actually flagged are
touched.

Temp/system files (Office lock files, desktop.ini, InDesign lock files) are
moved to a quarantine folder, preserving their relative folder structure,
rather than deleted. All other flagged items are renamed, replacing
characters SharePoint Online does not allow (" * : < > ? / \ |) with '-'.

Entries are processed deepest-path-first so a flagged folder is never
renamed before the flagged items inside it are handled. If a cleaned name
collides with an existing item, a numeric suffix is appended, e.g.
"report (2).txt". Quarantine moves never overwrite: an existing quarantined
file at the same relative path also gets a numeric suffix.

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Repair-SharePointNames -RequiredVersion 1.0.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 TrogdorTheMan. Licensed under GPL-3.0.

Package Details

FileList

Version History

Version Downloads Last updated
1.0.1 6 7/6/2026
1.0.0 (current version) 3 7/6/2026