Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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"}'
@nduytg

This comment has been minimized.

Copy link

@nduytg nduytg commented Jun 5, 2018

Thanks a lot. This solves my problem^^

@Skentavr

This comment has been minimized.

Copy link

@Skentavr Skentavr commented Oct 30, 2020

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

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