MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.26k stars 21.43k forks source link

crul command doesn't work in Powershell #70999

Closed hrazmsft closed 3 years ago

hrazmsft commented 3 years ago

When I copy the curl request to Powershell, I get this error: image

While in CMD this command working fine: image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

JamesTran-MSFT commented 3 years ago

@hraz-msft Thanks for your feedback! We will investigate and update as appropriate.

PatrickFarley commented 3 years ago

Solution - https://stackoverflow.com/questions/30807318/running-curl-via-powershell-how-to-construct-arguments#:~:text=In%20PowerShell%20curl%20is%20a,command%20not%20resolved%20to%20alias.

PatrickFarley commented 3 years ago

I'll update the docs to suggest cmd and not powershell

PatrickFarley commented 3 years ago

please-close