Monday, 21 November 2011

Get A List Of Indexed Content Sources In SharePoint PowerShell

Want to see the list of SharePoint Search content sources on the command line with PowerShell?

$contentsource = Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp
Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp

Name             Id   Type                 CrawlState      CrawlCompleted
----             --   ----                 ----------      --------------
Local SharePo... 2    SharePoint           Idle            9/29/2011 10:16:0

http://instit... 26   Web                  Paused          11/17/2011 11:30:...
http://intran... 27   Web                  Idle            11/4/2011 8:24:28 PM
http://intran... 28   Web                  Idle            11/4/2011 8:30:38 PM
http://intran... 29   Web                  Idle            11/4/2011 8:27:08 PM
rp               30   Web                  Paused          11/17/2011 11:30:...


No comments:

Post a Comment