Lesser logging

This commit is contained in:
markuskramerIgitt 2018-07-19 20:04:06 +02:00
parent 2a88ebb102
commit 1cb0b5c6a7
2 changed files with 2 additions and 3 deletions

View file

@ -1,5 +1,5 @@
#
# Download url to file.
# ps1 wrapper for psm1
#
#
Param(
@ -9,6 +9,5 @@ Param(
Import-Module ./Modules/download-module.psm1
Write-Host -ForegroundColor DarkGreen " download_url_file $url $file"
DownloadFileWithProgress $url $file

View file

@ -17,7 +17,7 @@ Function DownloadFileWithProgress {
begin {
Write-Host -ForegroundColor DarkGreen " download-module.DownloadFileWithProgress $url $localFile"
Write-Host -ForegroundColor DarkGreen " download-module.DownloadFileWithProgress $url"
$client = New-Object System.Net.WebClient
$Global:downloadComplete = $false
$eventDataComplete = Register-ObjectEvent $client DownloadFileCompleted `