diff options
Diffstat (limited to 'coin/provisioning/common/windows/helpers.ps1')
-rw-r--r-- | coin/provisioning/common/windows/helpers.ps1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/coin/provisioning/common/windows/helpers.ps1 b/coin/provisioning/common/windows/helpers.ps1 index 8a4b452e..28ccaeaf 100644 --- a/coin/provisioning/common/windows/helpers.ps1 +++ b/coin/provisioning/common/windows/helpers.ps1 @@ -68,6 +68,17 @@ function BadParam throw("You must specify $Description") } +function Get-DefaultDownloadLocation +{ + return $env:USERPROFILE + "\downloads\" +} + +function Get-DownloadLocation +{ + Param ([string]$TargetName = $(BadParam("a target filename"))) + return (Get-DefaultDownloadLocation) + $TargetName +} + function Download { Param ( |