I want to get the Satuscode when the HTTP returns code 200, i know there is way to use try , Catch but thats to catch error StatusCode, what is the way to catch the sucessfull status code 200 using Invoke-Restmethod in Powershell 5.1 ?
Any help is appreciated