Skip to content

Instantly share code, notes, and snippets.

@landonb
Created February 10, 2018 21:29
Show Gist options
  • Save landonb/93de25cb1e5e999037536b6a267f8c6b to your computer and use it in GitHub Desktop.
Save landonb/93de25cb1e5e999037536b6a267f8c6b to your computer and use it in GitHub Desktop.
Windows Vagrantfile Windows Remote Management script
@echo off
set WINRM_EXEC=call %SYSTEMROOT%\System32\winrm
%WINRM_EXEC% quickconfig -q
%WINRM_EXEC% set winrm/config/winrs @{MaxMemoryPerShellMB="300"}
%WINRM_EXEC% set winrm/config @{MaxTimeoutms="1800000"}
%WINRM_EXEC% set winrm/config/client/auth @{Basic="true"}
%WINRM_EXEC% set winrm/config/service @{AllowUnencrypted="true"}
%WINRM_EXEC% 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