You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suggestion: Add an $ErrorView option that displays concise, single-line error information and consider making that the default - default formatting of ErrorRecord #3647
It would be nice to have another option - e.g., ConciseView - that limits output to a single line that contains the immediately relevant information (digging deeper - if needed - is always possible via $Error[0]):
>$ErrorView='ConciseView'; Get-Item/NoSuch # wishful thinkingGet-Item : Cannot find path '/NoSuch' because it does not exist.
Arguably, this kind of display is the most useful to end users when viewed in the console, so perhaps it should be the default.
As an aside: requiring the $ErrorView values to end in *View seems redundant; related: #3644 and #3645.
Environment data
PowerShell Core v6.0.0-alpha (v6.0.0-alpha.18) on Darwin Kernel Version 16.5.0: Fri Mar 316:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64
dragonwolf83, powercode, gabr, omniomi, lplewa and 22 more