配置WMF3.0中的WinRM

简介:

可以参照下面这个修改WinRM兼容性实例的步骤作为模版来配置WinRM.

关闭WinRM新旧版本兼容性事例:

(1)在powershell中输入“ls wsman:\localhost\service”,可查看有哪些属性可以修改;     wKiom1NKa1Dz_9eCAAIZTkAJkCA997.jpg

(2)我们先查看WFM3.0中WinRM默认的兼容性:wKiom1NKZ-CgiGc5AAFvD9EmuJY869.jpg

(3)输入“set-item wsman:\localhost\serivce\enablecompatibilityhttplistener false”;

wKioL1NKZ7qTD4uHAAID96TrF1k489.jpg

(4)修改结果如下:wKioL1NKayeQAD6vAADg6Rkpv8M782.jpg

官方的文档如下:(但是我测试通不过)

Configuring WinRM

The following commands can be used to configure WinRM from the PowerShell command prompt.

  • To enumerate the existing WinRM listeners:

    winrm enumerate winrm/config/listener

  • To enable the "compatibility" HTTP listener on port 80:

    winrm set winrm/config/service @{EnableCompatibilityHttpListener="true"}

  • To enable the "compatibility" HTTPS listener on port 443:

    winrm set winrm/config/service @{EnableCompatibilityHttpsListener="true"}

  • To disable the "compatibility" HTTP listener on port 80:

    winrm set winrm/config/service @{EnableCompatibilityHttpListener="false"}

  • To disable the "compatibility" HTTPS listener on port 443:

    winrm set winrm/config/service @{EnableCompatibilityHttpsListener="false"}

The following Group Policy settings can be used to enable/disable the "compatibility" listeners:

  • Windows Components > Windows Remote Management (WinRM) > WinRM Service > Turn On Compatibility HTTP Listener

  • Windows Components > Windows Remote Management (WinRM) > WinRM Service > Turn On Compatibility HTTPS Listener




本文转自 bannerpei 51CTO博客,原文链接:http://blog.51cto.com/281816327/1394891,如需转载请自行联系原作者

相关文章
|
5月前
|
网络协议 Linux 网络安全
suse 12 配置ip,dns,网关,hostname,ssh以及关闭防火墙
suse 12 配置ip,dns,网关,hostname,ssh以及关闭防火墙
139 0
|
5月前
CobaltStrike VNC 错误 使用VNC报错 Disconnected from server
CobaltStrike VNC 错误 使用VNC报错 Disconnected from server
113 0
CobaltStrike VNC 错误 使用VNC报错 Disconnected from server
|
7月前
|
安全 网络安全 数据安全/隐私保护
wsl---ssh远程连接、ip映射及服务自启详细配置
在初步体验了wsl后,我们都想通过一些类似xshell的工具来进行连接,因为cmd真的是不太友好。 在多次反复操作后发现,网上很多千篇一律的教程在有些地方,真的是误导像我这种小白,因此,本片文章经历过多次修改以保让我等小白不被带偏。
|
11月前
|
网络协议 Linux
【Telnet】Telnet安装与配置
【Telnet】Telnet安装与配置
437 0
|
网络安全 Windows
『OpenSSH』 Windows开启SSH服务端
📣读完这篇文章里你能收获到 - 本文将以图文的形式带你打开Window自带的SSH
213 0
『OpenSSH』 Windows开启SSH服务端
|
网络协议 Linux 开发者
【Telnet】Telnet安装与配置
Telnet是一种应用层协议,使用于互联网及局域网中,使用虚拟终端的形式,提供双向、以文字字符串为主的命令行接口交互功能。属于TCP/IP协议族的其中之一,是互联网远程登录服务的标准协议和主要方式,常用于服务器的远程控制,可供用户在本地主机执行远程主机上的工作。
844 0
|
Linux 网络安全 数据安全/隐私保护
win10下Linux子系统开启ssh服务
原文:win10下Linux子系统开启ssh服务 为了便于交流共同学习,博主QQ群242629020(stm32-MCU认认真真交流群) 欢迎批评指导!!!电梯:https://jq.
2602 0
|
Linux 网络安全
配置 SSH 端口转发,并设置开机启动
SSH 为了降低运维成本,提高可靠性,物理服务器往往都不再部署在本地,IDC 托管成了更多企业的选择。服务器托管在 IDC 后,出于安全的考虑,不会直接开放所有服务器的外部访问,而是使用跳板机,跳板机可以直接从外部访问,而其他服务器只能在登录到跳板机后才能连接得上。
1919 0
|
网络安全 虚拟化 Windows