Created
February 10, 2018 21:29
-
-
Save landonb/93de25cb1e5e999037536b6a267f8c6b to your computer and use it in GitHub Desktop.
Windows Vagrantfile Windows Remote Management script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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