Home > PowerShell, SharePoint 2010 > Search cmdlets (SharePoint Server 2010)

Search cmdlets (SharePoint Server 2010)

Updated: 2009-12-14

[This article is pre-release documentation and is subject to change in future releases.]

Search 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 cmdlets are available for Beta.

Administration

Cmdlet name

Get-SPEnterpriseSearchAdminComponent

Set-SPEnterpriseSearchAdminComponent

Crawling

Cmdlet name

Get-SPEnterpriseSearchCrawlComponent

Get-SPEnterpriseSearchCrawlContentSource

Get-SPEnterpriseSearchCrawlCustomConnector

Get-SPEnterpriseSearchCrawlDatabase

Get-SPEnterpriseSearchCrawlExtension

Get-SPEnterpriseSearchCrawlMapping

Get-SPEnterpriseSearchCrawlRule

Get-SPEnterpriseSearchCrawlTopology

New-SPEnterpriseSearchCrawlComponent

New-SPEnterpriseSearchCrawlContentSource

New-SPEnterpriseSearchCrawlCustomConnector

New-SPEnterpriseSearchCrawlDatabase

New-SPEnterpriseSearchCrawlExtension

New-SPEnterpriseSearchCrawlMapping

New-SPEnterpriseSearchCrawlRule

New-SPEnterpriseSearchCrawlTopology

Remove-SPEnterpriseSearchCrawlComponent

Remove-SPEnterpriseSearchCrawlContentSource

Remove-SPEnterpriseSearchCrawlCustomConnector

Remove-SPEnterpriseSearchCrawlDatabase

Remove-SPEnterpriseSearchCrawlExtension

Remove-SPEnterpriseSearchCrawlMapping

Remove-SPEnterpriseSearchCrawlRule

Remove-SPEnterpriseSearchCrawlTopology

Set-SPEnterpriseSearchCrawlContentSource

Set-SPEnterpriseSearchCrawlDatabase

Set-SPEnterpriseSearchCrawlRule

Set-SPEnterpriseSearchCrawlTopology

Service Application

Cmdlet name

Get-SPEnterpriseSearchService

Get-SPEnterpriseSearchServiceApplication

Get-SPEnterpriseSearchServiceApplicationProxy

Get-SPEnterpriseSearchServiceInstance

New-SPEnterpriseSearchServiceApplication

New-SPEnterpriseSearchServiceApplicationProxy

Remove-SPEnterpriseSearchServiceApplication

Remove-SPEnterpriseSearchServiceApplicationProxy

Restore-SPEnterpriseSearchServiceApplication

Set-SPEnterpriseSearchService

Set-SPEnterpriseSearchServiceApplication

Set-SPEnterpriseSearchServiceApplicationProxy

Set-SPEnterpriseSearchServiceInstance

Start-SPEnterpriseSearchServiceInstance

Stop-SPEnterpriseSearchServiceInstance

Upgrade-SPEnterpriseSearchServiceApplication

Querying

Cmdlet name

Get-SPEnterpriseSearchQueryAuthority

Get-SPEnterpriseSearchQueryComponent

Get-SPEnterpriseSearchQueryDemoted

Get-SPEnterpriseSearchQueryKeyword

Get-SPEnterpriseSearchQueryScope

Get-SPEnterpriseSearchQueryScopeRule

Get-SPEnterpriseSearchQuerySuggestionCandidates

Get-SPEnterpriseSearchQueryTopology

Get-SPEnterpriseSearchRankingModel

Get-SPEnterpriseSearchSecurityTrimmer

New-SPEnterpriseSearchQueryAuthority

New-SPEnterpriseSearchQueryComponent

New-SPEnterpriseSearchQueryDemoted

New-SPEnterpriseSearchQueryKeyword

New-SPEnterpriseSearchQueryScope

New-SPEnterpriseSearchQueryScopeRule

New-SPEnterpriseSearchQueryTopology

New-SPEnterpriseSearchRankingModel

New-SPEnterpriseSearchSecurityTrimmer

Remove-SPEnterpriseSearchQueryAuthority

Remove-SPEnterpriseSearchQueryComponent

Remove-SPEnterpriseSearchQueryDemoted

Remove-SPEnterpriseSearchQueryKeyword

Remove-SPEnterpriseSearchQueryScope

Remove-SPEnterpriseSearchQueryScopeRule

Remove-SPEnterpriseSearchQueryTopology

Remove-SPEnterpriseSearchRankingModel

Remove-SPEnterpriseSearchSecurityTrimmer

Restart-SPEnterpriseSearchQueryComponent

Set-SPEnterpriseSearchQueryAuthority

Set-SPEnterpriseSearchQueryComponent

Set-SPEnterpriseSearchQueryKeyword

Set-SPEnterpriseSearchQueryScope

Set-SPEnterpriseSearchQueryScopeRule

Set-SPEnterpriseSearchQueryTopology

Set-SPEnterpriseSearchRankingModel

Metadata

Cmdlet name

Get-SPEnterpriseSearchMetadataCategory

Get-SPEnterpriseSearchMetadataCrawledProperty

Get-SPEnterpriseSearchMetadataManagedProperty

Get-SPEnterpriseSearchMetadataMapping

New-SPEnterpriseSearchMetadataCategory

New-SPEnterpriseSearchMetadataCrawledProperty

New-SPEnterpriseSearchMetadataManagedProperty

New-SPEnterpriseSearchMetadataMapping

Remove-SPEnterpriseSearchMetadataCategory

Remove-SPEnterpriseSearchMetadataManagedProperty

Remove-SPEnterpriseSearchMetadataMapping

Set-SPEnterpriseSearchMetadataCategory

Set-SPEnterpriseSearchMetadataCrawledProperty

Set-SPEnterpriseSearchMetadataManagedProperty

Set-SPEnterpriseSearchMetadataMapping

Topology

Cmdlet name

Import-SPEnterpriseSearchTopology

Export-SPEnterpriseSearchTopology

General

Cmdlet name

Get-SPEnterpriseSearchIndexPartition

Get-SPEnterpriseSearchLanguageResourcePhrase

Get-SPEnterpriseSearchPropertyDatabase

Get-SPEnterpriseSearchSiteHitRule

New-SPEnterpriseSearchLanguageResourcePhrase

New-SPEnterpriseSearchPropertyDatabase

New-SPEnterpriseSearchSiteHitRule

Remove-SPEnterpriseSearchLanguageResourcePhrase

Remove-SPEnterpriseSearchPropertyDatabase

Remove-SPEnterpriseSearchSiteHitRule

Set-SPEnterpriseSearchIndexPartition

Set-SPEnterpriseSearchPropertyDatabase

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).

The following table describes the cmdlets for FAST Search Server 2010 for SharePoint.

Cmdlet name

Get-SPEnterpriseSearchExtendedConnectorProperty

Set-SPEnterpriseSearchExtendedConnectorProperty

Set-SPEnterpriseSearchExtendedQueryProperty

Get-SPEnterpriseSearchExtendedQueryProperty

Get-SPEnterpriseSearchExtendedClickThroughExtractorJobDefinition

To download the SearchCmdlets.chm file, see Windows PowerShell for SharePoint Server 2010 Beta(http://go.microsoft.com/fwlink/?LinkId=179124).

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: