Problem

DATPROF Runtime allows you to use an API.

This API can be accessed using tools like wget or curl.

When using Powershell you might encounter this Error: Invoke-WebRequest : A positional parameter cannot be found that accepts argument 'X-auth-token:.........


Solution

This is caused by the Curl alias defined in Powershell 

This alias has the following definition: Alias           curl -> Invoke-WebRequest

This curl alias does not work like native curl.

Unfortunately it takes precedence over your local curl installation.


To fix this probem remove the alias using the remove-item cmdlet:  PS> remove-item alias:curl


then try again



To read a discussion about using and changing cURL in Powershell check this:

http://thesociablegeek.com/azure/using-curl-in-powershell/