I created a small PowerShell script for downloading a file with the file size of 1.22 GB, but I only get the source code of the website that informs you about the big file size:
$source = 'https://drive.google.com/uc?export=download&id=1_miRwB-pILq3FgndDmr7dfO6JO2KwLx7'
$fpath = '.\file.rar'
Invoke-WebRequest -Uri $source -OutFile $fpath
I tried it with an API code too, but I only get this error:
Invoke-WebRequest : { "error": { "errors": [ { "domain": "usageLimits", "reason": "keyInvalid", "message": "Bad
Request" } ], "code": 400, "message": "Bad Request" } }
I'll keep digging and hope that someone will find an answer!