Multiple choice technology

To suppress runtime exceptions in PowerShell and continue the execution of CmdLets which option is used in –ErrorAction common parameter?

  1. Continue

  2. Suppress

  3. SilentlyContinue

  4. none of the above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The -ErrorAction parameter in PowerShell controls error handling. 'SilentlyContinue' suppresses the error message and continues execution. 'Continue' (default) shows errors but continues. 'Suppress' is not a valid value.