Skip to content

Instantly share code, notes, and snippets.

@TheBigBear
Created August 28, 2019 14:34
Show Gist options
  • Save TheBigBear/e10a3045a15616fd2894bf7126039984 to your computer and use it in GitHub Desktop.
Save TheBigBear/e10a3045a15616fd2894bf7126039984 to your computer and use it in GitHub Desktop.
test of basic windows install
#!/bin/sh
mkdir c:\tmp
mkdir c:\temp
cd c:\temp
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
cmd /c powershell choco install boxstarter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment