-
-
Save MinhTing/f40b3a92e9adebe096cee875149e74a2 to your computer and use it in GitHub Desktop.
Enable WinRM with basic auth
This file contains 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
set-executionpolicy -executionpolicy remotesigned | |
winrm quickconfig -q | |
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="512"}' | |
winrm set winrm/config '@{MaxTimeoutms="1800000"}' | |
winrm set winrm/config/service '@{AllowUnencrypted="true"}' | |
winrm set winrm/config/service/auth '@{Basic="true"}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment