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"}'
```
WARNING: No any other purpose,keeping reminded! So sorry to offended,if necessary, contact me and I do change what I had done to protect your privileges!