add force parameter to win_get_url

pull/18777/head
Tal Auslander 10 years ago committed by Matt Clay
parent 26a54897a2
commit 9c6d829991

@ -40,7 +40,9 @@ Else {
Fail-Json $result "missing required argument: dest"
}
If (-not (Test-Path $dest)) {
$force = Get-Attr -obj $params -name "force" "no"
If ($force -eq "yes" -or -not (Test-Path $dest)) {
$client = New-Object System.Net.WebClient
Try {

Loading…
Cancel
Save