Unable to upload files from Gitlab through CI/CD to Nexus Raw Repositores

Hi All,

I am trying to upload files into raw repositories created in the Nexus using curl command from GitLAB CI/CD, I am getting the below error :
Invoke-WebRequest : A positional parameter cannot be found that accepts
argument ‘–upload-file’.

The same curl command when manually run from the command prompt it is working fine ( Files are getting uploaded).
I have tried even removing the alias in the power shell, but no luck,
Requesting you to help on this.

Maybe ask Gitlab since its their curl command?