small changes for scripts.

This commit is contained in:
Dariy.Nurgaleev
2020-03-24 17:35:11 +07:00
parent 739bbe26b5
commit dd931593e8
2 changed files with 5 additions and 2 deletions

View File

@@ -166,9 +166,9 @@ function Start-DownloadWithRetry
param (
[Parameter(Mandatory)]
[string] $Url,
[string] $DownloadPath = "${env:Temp}",
[Parameter(Mandatory)]
[string] $Name,
[string] $DownloadPath = "${env:Temp}",
[int] $retries = 20
)
$FilePath = Join-Path $DownloadPath $Name