Windows 开启 winrm

# Windows 开启 winrm

 

```

Enable-PSRemoting

 

winrm enumerate winrm/config/listener

 

winrm quickconfig

 

winrm set winrm/config/service/auth @{Basic="true"}

 

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

 

winrm set winrm/config/Client '@{TrustedHosts="*"}'

 

winrm set winrm/config/Client/Auth '@{Basic="true"}'

```

posted @ 2019-10-25 15:29  素丶素  阅读(430)  评论(0编辑  收藏  举报