Formatting/TypeFieldControl.format.ps1
Write-FormatControl -Name TypeFieldControl -Action { Write-FormatViewExpression -If { -not $script:DisplayingMember } -ScriptBlock { [Environment]::NewLine } Write-FormatViewExpression -ScriptBlock { ' * '} Write-FormatViewExpression -Property FieldType -ControlName TypeNameControl -ForegroundColor 'Verbose' Write-FormatViewExpression -Property Name -ForegroundColor 'Warning' } |