Some servers block the default PowerShell "User-Agent." Try adding -UserAgent "Mozilla/5.0" to your command.
If the download fails on older systems, run this command first to enable TLS 1.2: [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 powershell curl download zip file
The -L flag ensures it follows URL redirects automatically. Some servers block the default PowerShell "User-Agent