Created
September 8, 2020 07:09
-
-
Save HainanZhao/eb5fd5761dde68950af72fc442292625 to your computer and use it in GitHub Desktop.
Create/Edit WinRM listners using HTTPS with SSL Certs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| winrm enumerate winrm/config/listener | |
| winrm delete winrm/config/Listener?Address=*+Transport=HTTPS | |
| winrm create winrm/config/Listener?Address=*+Transport=HTTPS @{Hostname="*.yourdomain.com";CertificateThumbprint="XXXXXXXXXXXXXXXXXXXXXXXX"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment