Category Archives for PowerShell

Working with HTTP errors in PowerShell

PowerShell is a great language to query REST APIs. When I call a REST API, I usually expect things to go well, but sometimes it doesn’t. So, how should I handle HTTP errors like 404, 403, and so