Get list of sites from SharePoint content database

 This command will get the list of sites from the content Database.

$db = Get-SPContentdatabase "sql_test_db_name"
 $db.sites

Comments

Popular posts from this blog

Convert List Collection to DataTable using C#

Difference Between Site Template and Site Definition

SharePoint 2010 Content Query Web Part