Skip to content

SolusCado/SPMT-Tools

Repository files navigation

BaileyPoint.SPMT.Tools

🛠 A PowerShell module for identifying and removing unsupported SharePoint lists before migrating from SharePoint Server to SharePoint Online using the SharePoint Migration Tool (SPMT).


✨ Features

  • Detects legacy, hidden, or deprecated list types (Quick Deploy, Notifications, Device Channels, etc.)
  • Removes problematic lists cleanly, with optional force prompt
  • Supports recursion across site collections and subwebs
  • Prompts user to scan for hidden lists after known issues are cleaned
  • Lint-safe, modular, and extensible for enterprise cleanup

📆 Installation

This module is not yet published to the PowerShell Gallery.

To test or use locally:

git clone https://github.com/SolusCado/SPMT-Tools.git
cd SPMT-Tools
Import-Module ./BaileyPoint.SPMT.Tools.psd1 -Force

🚀 Usage

🩼 Clean up unsupported lists (auto + interactive)

Invoke-SPMTListCleanup -SiteUrl "http://sharepoint2013/sites/demo"

🔍 Just scan and review known-bad lists

Get-SPMTUnsupportedLists -SiteUrl "http://sharepoint2013/sites/hr" |
    Format-Table Title, Hidden, ItemCount

🗉️ Scan for hidden lists (not auto-deleted)

Get-SPMTHiddenLists -SiteUrl "http://sharepoint2013/sites/hr"

🗉️ Manually remove a list with optional -Force

$list = Get-SPWeb "http://site" | % { $_.Lists["Quick Deploy Items"] }
Remove-SPMTUnsupportedList -List $list

🔧 Exported Commands

Command Description
Invoke-SPMTListCleanup Full scan: cleans known-bads, prompts for hidden
Get-SPMTUnsupportedLists Find known-bad lists without removing them
Get-SPMTHiddenLists List hidden lists for manual review
Remove-SPMTUnsupportedList Delete a specific list with prompt & fallback force

📁 Folder Structure

Follows the PowerShell module best practices.

BaileyPoint.SPMT.Tools/
├── Public/
├── Private/
├── KnownBadLists.ps1
├── BaileyPoint.SPMT.Tools.psd1
├── BaileyPoint.SPMT.Tools.psm1
└── README.md

🤛 About

Author: Michael Bailey
Company: BaileyPoint
License: MIT
Repo: github.com/SolusCado/SPMT-Tools


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published