user profile services的2个服务Forefront Identity Manager Service 和 Forefront Identity Manager Synchronization Service无法启动提示如下图错误:

 

执行如下powershell脚本:

利用下面的命令来获取到当前服务器场所有的UPS服务实例:

$UPSInstances = Get-SPServiceInstance | ? {$_.GetType().ToString() -eq "Microsoft.Office.Server.Administration.UserProfileServiceInstance"}

利用下面命令来获得状态异常的UPS服务实例:

$StuckUPSInstances = $UPSInstances | ? {$_.Status -ne "Online"}

例如下面命令来重新初始化/启动UPS服务实例:

$StuckUPSInstances | ForEach-Object -Process { $_ | Start-SPServiceInstance }

 

等一会儿,就会看到服务就重新启动好了。

 

最新文章

  1. Android无线调试
  2. android-The method findViewById(int) is undefined for the type ContactMainFragment报错
  3. pip/matplot/pandas的安装和使用
  4. NSQ:分布式消息队列学习记录
  5. 使用mysql 的docker
  6. bzoj3632
  7. php代码锁
  8. Android TextView 手动上下滑动
  9. Android项目实战手机安全卫士(02)
  10. c#-委托,匿名方法,lambda表达的关系
  11. 简单却又复杂的FizzBuzz面试编程问题
  12. 车大棒浅谈jQuery源码(二)
  13. 在linux环境下搭建java web测试环境(非常详细!!)
  14. 在 TensorFlow 中实现文本分类的卷积神经网络
  15. CAP原则
  16. ldap+flask+python2实现统一认证里面的那些编码神坑
  17. thinkphp---设置路由
  18. 芒果TV 视频真实的地址获取
  19. bitmapdata的知识点
  20. 适合Centos Web服务器的iptables规则

热门文章

  1. 牛顿法与拟牛顿法学习笔记(四)BFGS 算法
  2. Deep learning:五十(Deconvolution Network简单理解)
  3. selenium-webdriver(python) (十五) -- 鼠标事件
  4. Android系统目录介绍
  5. [New Portal]Windows Azure Virtual Machine (14) 在本地制作数据文件VHD并上传至Azure(1)
  6. SQL--Order By
  7. 设置与获取Cookie
  8. Redis代码阅读之Hacking Strings
  9. 【转载】ASP.NET MVC Web API 的路由选择
  10. Winform图片拖拽与缩放