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"}'
@SerjNIX
Copy link

SerjNIX commented Oct 30, 2020

Thank you so match!!! I solved my problem on windows server 2008.

@gopihc
Copy link

gopihc commented Oct 28, 2021

This worked..!!

@YoraiLevi
Copy link

thanks!

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