Add tests for windows setup module.

This commit is contained in:
Chris Church 2014-06-19 12:25:44 -05:00 committed by Matt Martz
commit 5b85252043
3 changed files with 38 additions and 3 deletions

View file

@ -28,7 +28,6 @@ $powershellpath = "C:\powershell"
function download-file
{
Get-Process | Out-File c:\powershell\whatisrunningrightnow.txt
param ([string]$path, [string]$local)
$client = new-object system.net.WebClient
$client.Headers.Add("user-agent", "PowerShell")
@ -78,6 +77,6 @@ else
}
$FileName = $DownLoadUrl.Split('/')[-1]
# download-file $downloadurl "$powershellpath\$filename"
download-file $downloadurl "$powershellpath\$filename"
write-host "$powershellpath\$filename"
."$powershellpath\$filename" /quiet /log "C:\powershell\install.log"