-
winrm service 默认都是未启用的状态,先查看状态;如无返回信息,则是没有启动;
winrm enumerate winrm/config/listener
-
针对winrm service 进行基础配置:
winrm quickconfig
-
查看winrm service listener:
winrm e winrm/config/listener
-
为winrm service 配置auth:
winrm set winrm/config/service/auth @{Basic="true"}
-
为winrm service 配置加密方式为允许非加密:
winrm set winrm/config/service @{AllowUnencrypted="true"}
-
至此,winrm service 已经启用,可以正常使用;
END