Welcome › Forums › General PowerShell Q&A › ErrorAction in advanced functions
This topic contains 2 replies, has 2 voices, and was last updated by
It appears built in cmdlets inherit the ErrorAction passed to the containing function. I was hoping to find docs confirming this but was not successful.
Is this behavior by design?
I've seen this behavior with all common parameters not only -erroraction. See this 2006 post by Jeff Snover 😉
Thanks for the confirmation Sam.
The topic ‘ErrorAction in advanced functions’ is closed to new replies.