Get All SharePoint Site Collections from a Content Database using PowerShell

During audit/migrations, we had a requirement to generate reports on SharePoint content databases and list of sites collections lives in each content database. PowerShell script to Get all content databases and their Site collections: The One liner for the above script would be: This PowerShell script outputs all SharePoint content databases with…

Read more