1. 显示搜索服务信息
Get-SPSearchService
2. 显示搜索服务实例
Get-SPSearchServiceInstance
3. 获取指定搜索服务实例
$ssInstance = Get-SPSearchServiceInstance -Identity 4bbab1b2-a427-4e75-be8f-daabbdba6f23
4. 配置爬网账户
Set-SPSearchService –Identity 7c6fcca5-b3d4-4ecb-9d41-11f1eb15485f -CrawlAccount "SPSharePointCrawl" -CrawlPassword (ConvertTo-SecureString -asplaintext -force -string "SharePoint1")
5. 配置最大备份时长
Set-SPSearchService –Identity 7c6fcca5-b3d4-4ecb-9d41-11f1eb15485f –MaxBackupDuration 1440
6. 配置搜索服务执行级别
Set-SPSearchService –Identity 7c6fcca5-b3d4-4ecb-9d41-11f1eb15485f –PerformanceLevel Reduced
可用参数:Reduced、PartlyReduced、Maximum