Skip to content

Instantly share code, notes, and snippets.

@OSDTips
Last active November 23, 2015 22:04
Show Gist options
  • Save OSDTips/d9bfb119d5752f5a3dfb to your computer and use it in GitHub Desktop.
Save OSDTips/d9bfb119d5752f5a3dfb to your computer and use it in GitHub Desktop.
# Configure WinRM client
winrm qc
winrm set winrm/config/service/auth '@{Basic="true"}'
winrm set winrm/config/service/auth '@{Kerberos="false"}'
winrm set winrm/config/service '@{AllowUnencrypted="true"}'
winrm set winrm/config/client '@{TrustedHosts="*"}'
winrm set winrm/config/winrs '@{MaxMemoryPerShellMB="1024"}'
start-service WinRM
set-service WinRM -StartupType Automatic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment