利用PowerShell更改Search Service Account和删除旧的Search Service topology
来源:互联网 发布:云计算的应用场景 编辑:程序博客网 时间:2024/05/08 05:59
博客地址:http://blog.csdn.net/shelleyliu0415
很多朋友喜欢用PowerShell来维护和管理SharePoint,这里,给大家介绍一下如何用PowerShell更改Search Service Account以及删除旧的SearchService topology。
利用PowerShell更改Search Service Account:
- $password = Read-Host –AsSecureString Password
- Set-SPEnterpriseSearchService -IgnoreSSLWarnings $true -ServiceAccount domain\user -ServicePassword $password
注意:
- 第一步填写的password为步骤2要更改的Search Service account对应的Password。
- Set-SPEnterpriseSearchService是固定的命令参数,不可更改为Service Application的name
- 此处更改的仅仅是Search Service Account,并非是Search Service Application Pool的account,该用户是Domain user即可,无需有SQL Server的DB creator和Security admin的权限。
- 运用此命令,将会把改SharePoint farm下所有的Search Service的Account更改为该用户。
删除旧的SearchService topology
- $ssa = Get-SPEnterpriseSearchServiceApplication -Identity "SSA Name"
- Get-SPEnterpriseSearchTopology -SearchApplication $ssa
- Remove-SPEnterpriseSearchTopology -SearchApplication $ssa -Identity 231dfd08-9ab9-4c98-bc53-903ea9f4fb80
注意:
- 步骤2将得到整个SharePoint farm下的Search Service的Topology ID,记录要删除的Search Service的ID,第三步删除动作,Identity需要填写对应的Topology ID。
谢谢大家阅读!
1 0
- 利用PowerShell更改Search Service Account和删除旧的Search Service topology
- SharePoint 2013 + Windows server 2012 Search service错误:Unable to retrieve topology component health
- kubernetes的Service Account和secret
- 创建Search Service失败的解决方案
- SharePoint 2010 Search Service: Unable to connect to the search service 的问题处理
- SQL Full Text Search service
- Understanding the Search Service Architecture
- 小议:利用PowerShell配置SharePoint Report Service出错的解决方案
- 介绍一个测试SharePoint search web service的工具
- kubernetes资源对象--secret和Service Account
- Google SOAP Search API service 中文版
- search以及注册一个Web Service
- Backup and Restore Search Service Application
- SharePoint 2010 Search Service -- 管理中心配置
- Elasticsearch with Search-Guard定时删除旧索引
- ubuntu service的添加和删除
- SharePoint Excel Service-PowerShell
- SharePoint PerformancePoint Service-PowerShell
- 面试3
- 分布式文件系统fastdfs安装步骤
- Android WebRTC开发环境设置
- 在tableview的label使用NSMutableAttributedString要注意
- 论坛
- 利用PowerShell更改Search Service Account和删除旧的Search Service topology
- c#访问oracle数据库
- 前端程序员:月薪 5K 到 5 万,我干了啥
- 2015年(安卓)手机环境分析报告
- hadoop三个配置文件的参数含义说明
- android仿新版UC首页,上滑隐藏顶部轮播图,支持单个栏目下拉刷新,左右滑动切换
- 最流行的六大数据模型工具
- Datazen安装
- ARM Illegal Instruction错误初窥