$url = "http://software.onestopitservices.com/generic/" $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 "7z2201-x64.exe" Download-Software "ChromeStandaloneSetup64.exe" Download-Software "TV12.exe" Download-Software "DingTalkLite_v5.1.21.516.exe" Download-Software "MSTeamsSetup_c_l_.exe" Download-Software "ZoomInstaller.exe" Download-Software "WhatsAppSetup.exe"