I have a batch file with this command
wget www.example.com || powershell.exe command
example.com returns 1 or 0 as content-type plaintext
But whether it returns 1 or 0 powershell.exe command doesn't get run. I expect a response of 0 to lead to the powershell command being executed
The length of the response is 1 as expected.