This code allows you to delete many files from a document library in the most efficient way… that I found anyway… this code will generate a batch deletion XML command…
Category: PowerShell
Site Collection is not accessible after CDB restore
In my case the symptom was a blank page or 404 indicating that site is not accessible. i have notice though, that one server in the farm did present/serve the…
Split Nintex Content DB
Recommended approach to Nintex content database design is to have one to one relationship between a SharePoint site collection , SharePoint CDB, and Nintex content DB. This means that each SP site collection will…
Migrating / moving site definition templates from 2010 to 2013
These are the steps to fix the site definition error : Category : MissingSiteDefinition Error : True UpgradeBlocking : False Message : 1 Sites in database [CDB_Technology13] have reference(s) to…
SharePoint 2016 InfoPath Forms not working
After migrating from SharePoint 2010 to SharePoint 2016 using the detach attach method using SharePoint 2013 in between, we have noticed that libraries using InfoPath forms not working anymore. When…
List of Content Databases (CDB) and their size and number of sites
A simple one line PowerShell to get a list of all content DBs, their size, and the number of site collections. # Get All content Databases Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue;…
Remove a Feature from a content DB
This power shell code provide the option to remove missing features referenced on a content database migration log. Before migrating content Database you need to test the DB using the test-spcontentdatabase powershell…