一、引言

最近使用 JumpServer 纳管了公司内部一些资产,想着使用 JumpServer 自带的推送系统用户功能将 JumpServer 的用户推送到 Windows Server 2008 R2 上,但是在测试资产可连接性的时候就失败了,也就不能使用推送用户。

二、报错信息

报错提示 Ansible 需要 PowerShell 3.0

JumpServer 测试资产可连接性失败_PowerShell

看一下 ansible 官方的说明,也是需要升级到 PowerShell 3.0 

JumpServer 测试资产可连接性失败_PowerShell_02

三、Windows Server 2008 R2 升级 PowerShell 到 3.0

需要先安装 dotNET Framework 到 4.0 或者 4.5,dotNet Framework 4.5.1 脱机安装包微软官方下载地址:​​https://www.microsoft.com/zh-CN/download/details.aspx?id=40779​

JumpServer 测试资产可连接性失败_PowerShell_03

  1. 安装 PowerShell 3.0 补丁,补丁下载地址:​​https://download.microsoft.com/download/E/7/6/E76850B8-DA6E-4FF5-8CCE-A24FC513FD16/Windows6.1-KB2506143-x64.msu​
  2. 安装完毕,再次测试资产可连接性,成功,可以开始推送系统用户了

JumpServer 测试资产可连接性失败_PowerShell_04