Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
New-Object ignores the -ErrorAction common parameter #8580
Steps to reproduce
New-Object NoSuch.Type -ErrorAction Ignore
A quiet no-op.
Note that, by contrast, setting
Thanks, @kvprasoon - and my apologies, because I should never have opened this issue: