This Script will List your entire SharePoint 2010 / SharePoint 2013 Search Topology in your SharePoint Search farm.
You will get a detailed list of the search topology and configuration. Use the power shell command lines below to see everything in full detail :
You will get a detailed list of the search topology and configuration. Use the power shell command lines below to see everything in full detail :
function Get-SPSearchServiceAppInfo()
{
$searchapps = Get-SPEnterpriseSearchServiceApplication
foreach ($ssa in $searchapps) {
Write-Host ======================================================================================
Write-Host -foregroundcolor DarkCyan $ssa.Name
Write-Host ======================================================================================
$ssa
foreach ($ct in $ssa.CrawlTopologies){
Write-Host ----------------------------------------------------------------------------------
Write-Host -foregroundcolor DarkCyan "*** Crawl Topology - " $ssa.Name "***"
$ct
Write-Host ----------------------------------------------------------------------------------
Write-Host -foregroundcolor DarkCyan "*** Crawl Components - " $ssa.Name "***"
$ct.CrawlComponents
Write-Host ----------------------------------------------------------------------------------
}
foreach ($qt in $ssa.QueryTopologies){
Write-Host ----------------------------------------------------------------------------------
Write-Host
Write-Host -foregroundcolor DarkCyan "*** Query Topology - " $ssa.Name "***"
$qt
Write-Host -foregroundcolor DarkCyan "*** Query Components - " $ssa.Name "***"
$qt.QueryComponents
Write-Host
}
}
}
Get-SPSearchServiceAppInfo
No comments:
Post a Comment