I created a Powershell script that contains a Curl command that downloads a file from one of my repos on Bitbucket. when I execute the script using Powershell, the file is nowhere to be found - I expected it to be inside the location where the Powershell script was but it is not there. I'm sure it downloaded because I can see the download count increase on Bitbucket every time I run the command. Here is the Powershell code - am I missing something?
curl.exe -s -u myUserName -X GET https://api.bitbucket.org/2.0/repositories/MyTeam/myRepo/downloads/Hello.txt