This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from dylanmei/using_openssh
OpenSSH as an alternative to Cygwin
- Loading branch information
Showing
22 changed files
with
286 additions
and
242 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
*.exe | ||
*.msi | ||
*.msu |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
if not exist "C:\Windows\Temp\chef.msi" ( | ||
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('http://www.opscode.com/chef/install.msi', 'C:\Windows\Temp\chef.msi')" <NUL | ||
) | ||
|
||
msiexec /qb /i C:\Windows\Temp\chef.msi | ||
powershell -Command "Start-Sleep 1" <NUL |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
set TEMP=C:\Windows\Temp | ||
powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" <NUL | ||
|
||
<nul set /p ".=;C:\Chocolatey\bin" >> C:\Windows\Temp\PATH | ||
set /p PATH=<C:\Windows\Temp\PATH | ||
setx PATH "%PATH%" /m | ||
setx ChocolateyInstall "C:\Chocolatey" /m |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
:: Windows 8 / Windows 2012 require KB2842230 hotfix | ||
:: The Windows Remote Management (WinRM) service does not use the customized value of the MaxMemoryPerShellMB quota. | ||
:: Instead, the WinRM service uses the default value, which is 150 MB. | ||
:: http://hotfixv4.microsoft.com/Windows%208%20RTM/nosp/Fix452763/9200/free/463941_intl_x64_zip.exe | ||
|
||
@echo off | ||
set hotfix="C:\Windows\Temp\Windows8-RT-KB2842230-x64.msu" | ||
if not exist %hotfix% goto :eof | ||
|
||
:: get windows version | ||
for /f "tokens=2 delims=[]" %%G in ('ver') do (set _version=%%G) | ||
for /f "tokens=2,3,4 delims=. " %%G in ('echo %_version%') do (set _major=%%G& set _minor=%%H& set _build=%%I) | ||
|
||
:: 6.2 or 6.3 | ||
if %_major% neq 6 goto :eof | ||
if %_minor% lss 2 goto :eof | ||
if %_minor% gtr 3 goto :eof | ||
|
||
@echo on | ||
start /wait wusa "%hotfix%" /quiet /norestart |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.