$url = "http://software.onestopitservices.com/Customer/jhk/" $dest = $env:USERPROFILE + "\Downloads\" write-host " " Write-Host " *** Generic apps for a new PC install *** " write-host " " function Download-Software { [CmdletBinding()] param( [Parameter()] [string] $filename2 ) write-host "Downloading..."$filename2 Invoke-WebRequest -Uri $url$filename2 -OutFile $dest$filename2 write-host "Done" write-host "" } Download-Software "AcroRdrDC1900820071_zh_TW.exe" Download-Software "7z2200-x64.exe" Download-Software "ChromeStandaloneSetup64.exe" Download-Software "TV12.exe"