Created
November 5, 2014 19:16
-
-
Save ThaddParker/9c2e9e9b5c681986e33b to your computer and use it in GitHub Desktop.
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
#Development Machine v1.0b | |
cmd START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/ThaddParker/543228b70fdafcee8183/raw/640f03295ce3274f870ee6f1754e9c13c070f0a6/webdev1 | |
#create the Temp directory | |
$checkDir = Test-Path -PathType Container Temp | |
if($checkDir -eq $false){ | |
New-Item 'Temp' -type Directory | |
} | |
# create the projects directory | |
$checkDir = Test-Path -PathType Container Projects | |
if($checkDir -eq $false){ | |
New-Item 'Projects' -type Directory | |
} | |
Write-Host "Getting SQLServer configuration file" | |
$source = "https://gist.githubusercontent.com/ThaddParker/a175a54d8e7b4c685652/raw/01f186ac53489b9224d54a59ab8ee445f86c917b/SQLServerConfiguration.ini" | |
$dest = "c:\Temp\SQLServerConfiguration.ini" | |
Invoke-WebRequest $source -OutFile $dest | |
if(Test-Path -Path $dest){ | |
Write-Host "File found..." | |
}else{Write-Host "File not found"} | |
Write-Host "Executing SQL Server installation" | |
cmd "d:\setup.exe /ConfigurationFile=C:\Temp\SQLServerConfiguration.ini" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment