$ProgressPreference = "SilentlyContinue" $Link = "https://adwcleaner.malwarebytes.com/adwcleaner?channel=release" $Path = "C:\Users\Public\Downloads" $File = "adwcleaner.exe" Invoke-WebRequest -Uri $Link -OutFile $Path\$File -UseBasicParsing Start-Process -FilePath $Path\$File -ArgumentList "/eula /clean /noreboot /preinstalled /path $Path" -Wait