$Url = "https://hosted.assay.co.nz/demo/uploadesol2.php" $file = "C:\Program Files\FileMaker\FileMaker Server\Data\Documents\assayesol.csv" $authentication = "12345" Invoke-RestMethod -Method Post -Uri (-join($url,"?authentication=",$authentication)) -InFile $file -TimeoutSec 600