window server 配置 ansible 功能

2021-11-19  本文已影响0人  人在囧途2

get-executionpolicy
set-executionpolicy remotesigned
winrm quickconfig
winrm enumerate winrm/config/listener
winrm set winrm/config/service/auth '@{Basic="true"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'

netsh advfirewall firewall add rule name="ansible" protocol=TCP dir=in localport=5986 action=allow

运行官方提供的powershell 脚本启动windows 服务。
脚本在百度云盘系统软件/soft/powershell升级包里面

转载:https://www.bbsmax.com/A/QV5ZVOey5y/
转载:https://www.cnblogs.com/endv/p/6540566.html

上一篇 下一篇

猜你喜欢

热点阅读