- Whenever a PowerShell command encounters a non-terminating error, it checks a build-in variable $ErrorActionPreference.
- Continue – This is the default. Displays error and keeps running.
- SilentlyContinue – Keeps running but does not display the error.
- Stop – Displays error and stops execution
- Inquire – Prompts you for the next action