Skip to content

Instantly share code, notes, and snippets.

@mapbutcher
Created July 17, 2013 01:19
Show Gist options
  • Save mapbutcher/6016861 to your computer and use it in GitHub Desktop.
Save mapbutcher/6016861 to your computer and use it in GitHub Desktop.
Enable WinRM with basic auth
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"}'
@YoraiLevi
Copy link

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment