SharePoint 2010: Search Windows PowerShell cmdlets

SharePoint 2010: Search Windows PowerShell cmdlets

In SharePoint 2010, Search service is composed of several components, all of which provide specific functionality that is required for Search to operate. These components can be configured by using Windows PowerShell cmdlets.

The following is a comprehensive listing of cmdlets that are available for Microsoft SharePoint Server 2010.

Administration

SPEnterpriseSearchAdministrationComponent

  • Get-SPEnterpriseSearchAdministrationComponent. Returns the administration component for a shared search application. Use the Get-SPEnterpriseSearchAdmininistrationComponent cmdlet to retrieve an administration component for a search service application in order to update or delete it.
  • Set-SPEnterpriseSearchAdministrationComponent. Sets properties of an administration component for a shared search application. The Set-SPEnterpriseSearchAdministrationComponent cmdlet updates properties of an AdministrationComponent object for a search service application.
SPEnterpriseSearchContentService

Crawling

SPEnterpriseSearchCrawlComponent

  • Get-SPEnterpriseSearchCrawlComponent. Returns a crawl component for a shared search application.
  • New-SPEnterpriseSearchCrawlComponent. Creates a crawl component for a shared search application. The New-SPEnterpriseSearchCrawlComponent cmdlet is run when the search functionality is initially configured, or when a new crawl component is added to a crawl topology for a shared search application. A crawl topology can contain multiple crawl components.
  • Remove-SPEnterpriseSearchCrawlComponent. Deletes a crawl component from a shared search application. The Remove-SPEnterpriseSearchCrawlComponentAdmin cmdlet deletes a specified crawl component from a shared service application.

SPEnterpriseSearchCrawlContentSource

SPEnterpriseSearchCrawlCustomConnector

SPEnterpriseSearchCrawlDatabase

SPEnterpriseSearchCrawlExtension

SPEnterpriseSearchCrawlMapping

SPEnterpriseSearchCrawlRule

SPEnterpriseSearchCrawlTopology

Microsoft FAST Search Server 2010 for SharePoint

Microsoft FAST Search Server 2010 for SharePoint can replace SharePoint Server search features in environments where scale and performance requirements exceed the capabilities of SharePoint Server search. FAST Search Server 2010 for SharePoint can be deployed across multiple servers for redundancy and to increase performance and capacity. Deployment and management take place primarily through command-line operations — not the SharePoint Central Administration Web site — and can be scripted by using Windows PowerShell. FAST Search Server 2010 for SharePoint is only available with a SharePoint Server Enterprise Client Access License (CAL).

SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition

SPEnterpriseSearchExtendedConnectorProperty

SPEnterpriseSearchExtendedQueryProperty

General

SPEnterpriseSearchIndexPartition

SPEnterpriseSearchLanguageResourcePhrase

SPEnterpriseSearchPropertyDatabase

SPEnterpriseSearchSiteHitRule

Metadata

SPEnterpriseSearchMetadataCategory

SPEnterpriseSearchMetadataCrawledProperty

SPEnterpriseSearchMetadataManagedProperty

SPEnterpriseSearchMetadataMapping

Querying

SPEnterpriseSearchAndSiteSettingsService

SPEnterpriseSearchAndSiteSettingsServiceInstance
SPEnterpriseSearchAndSiteSettingsServiceProxy

SPEnterpriseSearchQueryAuthority

SPEnterpriseSearchQueryComponent

SPEnterpriseSearchQueryDemoted

SPEnterpriseSearchQueryKeyword

SPEnterpriseSearchQueryScope

SPEnterpriseSearchQueryScopeRule

SPEnterpriseSearchQuerySuggestionCandidates

SPEnterpriseSearchQueryTopology

SPEnterpriseSearchRankingModel

SPEnterpriseSearchSecurityTrimmer

SPEnterpriseSearchQueryAndSiteSettingsServiceInstance

Service Application

SPEnterpriseSearchService

SPEnterpriseSearchServiceApplication

SPEnterpriseSearchServiceApplicationProxy

SPEnterpriseSearchServiceInstance

Topology

SPEnterpriseSearchTopology

User Profile Service

SPProfileServiceApplication

SPProfileServiceApplicationProxy  

SPProfilePropertyCollection

SPProfileLeader

SPSiteSubscriptionProfileConfig

SPProfileServiceApplicationSecurity



Sort by: Published Date | Most Recent | Most Useful
Comments
  • hello! are there specific permissions so that users can execute the above cmdlets? thanks!

  • The user has to be granted access to the Sharepoint config database. Look here for details: www.sharepointassist.com/.../the-local-farm-is-not-accessible-cmdlets-with-featuredependencyid-are-not-registered

    Then, from a standard PowerShell command line, you can run "Add-PSSnappin Microsoft.Sharepoint.Powershell" to get access to the cmdlets.

  • just FYI to future readers.

    Add-PSSnapin

    not

    Add-PSSnappin

  • Cool THX

  • Note that the complete SharePoint PowerShell cmdlet reference can be found at technet.microsoft.com/.../ee890108.aspx on TechNet.

  • Note: As of the date/time of this comment, this wiki page is up-to-date and complete with all SharePoint Search cmdlets with a link to each respective cmdlet definition page on TechNet. Cheers. C.

  • Not sure if this is the appropriate place, but i can't find info anywhere on how to do a silent, unattended install of Search Server 2010 Express with power shell.  Would anyone here know of any resources on this?  thanks, J

  • Wow great article, I was searching for it !

  • very good stuff!!!

  • Man, this is what i have been looking for. :) Thank you so much.

Page 1 of 2 (20 items) 12