r/SCCM • u/ReputationOld8053 • 7d ago
Discussion Clean Up Distribution Points
Hi,
to clean up our distribution points we used the MS ContentLibraryCleanup tool. It worked fine, but slow.
With our new network infrastructure, we have no connection from the DP to the site server and SQL server. This means the tool cannot be executed from the DP, but must be executed from the site server, which makes it even slower. Very slow.
I was wondering if you have any other tool to perform this task. I found this:
https://github.com/SaltyPeaches/CM_DPManagement/blob/main/PackageMismatches.ps1
but this is only checking the WMI on the server.
I assume the MS tool has some bad joins and because how a DP stores files, it takes ages to loop through them. On the other hand with LINQ it should be much faster, even remote from the site server.
Any ideas?
6
u/petecd77 6d ago
How do you get new content to it if it cannot see the primary?