Zum Inhalt springen

FAQ

Zuletzt aktualisiert am

  • General

    Why are there errors in the output, but my command was successfully run anyway?

    In PowerShell there are terminating_ and non-terminating errors. If you receive only non-terminating errors, by default the command finishes normally and is regarded as executed 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.