SPSCleanDependencies is a PowerShell script tool to clean Missing Server Dependencies in your SharePoint Farm.
It's compatible with SharePoint Server Subscription Edition.
Note
SharePoint Server 2016 and 2019 reached end of support on 14 July 2026. If you are still running one of those versions, use the previous major release (v1.4.0).
Important
Backup content database first and test script on testing environment
Required because this module now implements class-based resources. Class-based resources can only work on computers with Windows rManagement Framework 5.0 or above. The preferred version is PowerShell 5.1 or higher, which ships with Windows 10 or Windows Server 2016. This is discussed further on the SPSCleanDependencies Wiki Getting-Started
This module allows SQL Server developers, administrators and business intelligence professionals to automate database development and server administration, as well as both multidimensional and tabular cube processing.
🚛 Get it via the PowerShell gallery
For detailed usage, configuration, and getting started information, visit the SPSCleanDependencies Wiki
A full list of changes in each version can be found in the change log