diff --git a/src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs b/src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs index 21f529e67ac..4bfecc19da8 100644 --- a/src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs +++ b/src/System.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs @@ -733,9 +733,11 @@ private static IEnumerable ViewsOf_System_Management_Autom { yield return new FormatViewDefinition("GetErrorInstance", CustomControl.Create() - .GroupByProperty("PSErrorIndex", label: "ErrorIdentifier") + .GroupByProperty("PSErrorIndex", label: "ErrorIndex") .StartEntry() .AddScriptBlockExpressionBinding(@" + Set-StrictMode -Off + $maxDepth = 10 $ellipsis = ""`u{2026}"" $resetColor = ''