In this article we will be seeing how to create Content Sources for Enterprise Search Service Application in SharePoint 2010 using PowerShell.
Automating the Content Source creation in SharePoint 2010
A content source is used to specify what type of content is crawled, what URLs to crawl, how and when to crawl.
We can create Content Sources for Enterprise Search Service Application in SharePoint 2010 from Central Administration.
Go to Central Administration => Application Management => Manage Service Applications => Enterprise Search Service Application.
On the Quick Launch Menu, go to Crawling and then click on Content Sources.
You could be able to see the Content Sources. By clicking on New Content Source link we can create a new Content Source.
Another way is we can create the content sources for Search Service Application using SharePoint Object Model.
Here we will be seeing about automating the content source creation using powershell script.