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

Power Shell script beginner in SharePoint 2010

Managed Metadata Configuration and Association

Difference Between Site Template and Site Definition