FAQ
Zuletzt aktualisiert am
-
General
Why are there errors in the output, but my command was successfully run anyway?
In PowerShell there are
terminating_ andnon-terminatingerrors. If you receive onlynon-terminatingerrors, by default the command finishes normally and is regarded asexecuted successfully. If you want the command to fail on error, you can change the default behavior by adding$ErrorActionPreference = "Stop";in the beginning of your script.