Search Service Application
1.
Get the content Source for Search Service Application
Get-SPEnterpriseSearchCrawlContentSource
-SearchApplication "Search Service Application" | select *|
out-gridview
2.
Search for a particular service application like Search
Get-SPServiceApplication |?{$_.Name -like
"*search*"}| select Name
3.
Get the Content Database for Search Service Application
Get-SPServiceApplication -Name "Search
Service Application" | select activetopology | format-list
4.
Get the sites where continuous crawl is enabled.
Get-SPEnterpriseSearchCrawlContentSource
-SearchApplication "Search Service Application" |
?{$_.EnableContinuousCrawls -eq $true}
$ssa = Get-SPEnterpriseSearchServiceApplication
#This example retrieves the active search topology of the search service application
Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
#View all Search Components for a topology ID from Get-SPEnterpriseSearchTopology
Get-SPEnterpriseSearchComponent -examples
# Get Search Administration Component
Get-SPEnterpriseSearchAdministrationComponent -SearchApplication $ssa
# Get Search Crawl Component
Get-SPEnterpriseSearchCrawlDatabase -SearchApplication $ssa
# Get Search Links Component
Get-SPEnterpriseSearchLinksDatabase -SearchApplication $ssa
#View all Search Result Item Types
#Get-SPEnterpriseSearchResultItemType -Owner $ssaOwner -SearchApplication $ssa | select * | out-gridview
#Get metadata crawled property
Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa
#View Crawled Property of Category People
Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication $ssa -Category People
#View Metadata Category of a UserName
Get-SPEnterpriseSearchMetadataMapping -SearchApplication $ssa -ManagedProperty UserName
$ssa = Get-SPEnterpriseSearchServiceApplication
#This example retrieves the active search topology of the search service application
Get-SPEnterpriseSearchTopology -SearchApplication $ssa -Active
#View all Search Components for a topology ID from Get-SPEnterpriseSearchTopology
Get-SPEnterpriseSearchComponent -examples
# Get Search Administration Component
Get-SPEnterpriseSearchAdministrationComponent -SearchApplication $ssa
# Get Search Crawl Component
Get-SPEnterpriseSearchCrawlDatabase -SearchApplication $ssa
# Get Search Links Component
Get-SPEnterpriseSearchLinksDatabase -SearchApplication $ssa
#View all Search Result Item Types
#Get-SPEnterpriseSearchResultItemType -Owner $ssaOwner -SearchApplication $ssa | select * | out-gridview
#Get metadata crawled property
Get-SPEnterpriseSearchMetadataManagedProperty -SearchApplication $ssa
#View Crawled Property of Category People
Get-SPEnterpriseSearchMetadataCrawledProperty -SearchApplication $ssa -Category People
#View Metadata Category of a UserName
Get-SPEnterpriseSearchMetadataMapping -SearchApplication $ssa -ManagedProperty UserName
#Get the Ranking Model
Get-SPEnterpriseSearchRankingModel -SearchApplication $ssa -Owner $ssaOwner
#View all the Display Properties for Email Search Result(or Person etc)
Get-SPEnterpriseSearchResultItemType -SearchApplication $ssa -Owner $ssaOwner |?{$_.Name -eq "Email"}
#View all Property Rules
Get-SPEnterpriseSearchPropertyRuleCollection
#gets the current status of the linguistic query and document processing components
Get-SPEnterpriseSearchLinguisticComponentsStatus -SearchApplication $ssa
#Get reference to query and site settings service
Get-SPEnterpriseSearchQueryAndSiteSettingsService
#Get the authoritative page
Get-SPEnterpriseSearchQueryAuthority -SearchApplication $ssa -Owner $ssaOwner
#Get the demoted rule
Get-SPEnterpriseSearchQueryDemoted -SearchApplication $ssa -Owner $ssaOwner
#Query Keywords(User Query Rules instead)Get-SPEnterpriseSearchCrawlRule -SearchApplication $ssa
Get-SPEnterpriseSearchQueryKeyword -Site "http://w15-sp"
#Query Scope(User Result Source instead)Not identified yet
Get-SPEnterpriseSearchQueryScope -SearchApplication $ssa
#Query Scope Rule(Use Result Source instead)
Get-SPEnterpriseSearchQueryScopeRule -SearchApplication $ssa -Scope People
#Get the current configuration for the Query Spelling Correction component
Get-SPEnterpriseSearchQuerySpellingCorrection -SearchApplication $ssa
#Get the a list of popular queries that can be displayed in a related queries Web Part
Get-SPEnterpriseSearchQuerySuggestionCandidates -SearchApplication $ssa -Owner $ssaOwner
#Get the pluggable security trimmers registered in the search service application
Get-SPEnterpriseSearchSecurityTrimmer -SearchApplication $ssa
#Get the SearchService object when the search service is updated or deleted.
Get-SPEnterpriseSearchService
#Get Most Recent Backup of Service Application
Get-SPEnterpriseSearchServiceApplicationBackupStore -BackupFolder "c:\backup" -Name $ssa -UseMostRecent
#View Search Service Application Proxy
Get-SPEnterpriseSearchServiceApplicationProxy
#View reference to the local search service instance
Get-SPEnterpriseSearchServiceInstance
#View or retrieves diagnostic information for all or specified search components in the active topology of a Search Service Application
Get-SPEnterpriseSearchStatus
#View Site hit rule
Get-SPEnterpriseSearchSiteHitRule
#View / get the index paths for all active index components on the current server.
Get-SPEnterpriseSearchVssDataPath
5.
Get the Access Service Application
Get-SPAccessServiceApplication | select * |
out-gridview
No comments:
Post a Comment