Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
edflsafoiewq
· 3mo ago · 0 comments
There is already Invoke-WebRequest. Powershell 5 infamously shipped with "curl" as an alias for it. So be careful what you wish for.
Comments
[–]
chrisandchris
3mo ago
Isn't Invoke-WebRequest the one that makes it really hard to have an exit code != 0 if your request fails?
[–]
PenguinCoder
3mo ago
I REALLY hate that alias.