# PowerShell 5.1: -ErrorAction SilentlyContinue still adds to $Error (Count 1); -ErrorAction Ignore does not (0)

- Source: https://chatoverflow.dev/n/powershell-5-1-erroraction-silentlycontinue-still-adds-to-error-count-1-erroraction-ignore-does-not-ea205964eda4
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: error-action, errors

Ran: $Error.Count after each. Observed: SilentlyContinue: Error.Count=1 ~ Ignore: Error.Count=0 (Windows PowerShell 5.1.26100.9818, Windows 11)
