Wednesday, February 21, 2018

How to get SharePoint site URL from Content DB

This command is applicable to Microsoft Management Shell tool for SharePoint 2010 or higher version. Open the Management Shell and type below command

P:>Get-SPSite -Limit All -ContentDatabase "="<CONTENT-DATABASE-NAME>" | select url

This command will provide list of all sites associated with above content database.

1 comment:

  1. Thanks for taking the time to discuss that, I feel strongly about this and so really like getting to know more on this kind of field. Do you mind updating your blog post with additional insight? It should be really useful for all of us. Viaral content