Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions reference/3.0/Microsoft.PowerShell.Utility/Format-Wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@ Accept wildcard characters: False
```

### -DisplayError
Displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a Format-Wide command, and the expressions do not appear to be working.
The following shows an example of the results of adding the DisplayError parameter with an expression.
Indicates that this cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a `Format-Wide` command, and the expressions do not appear to be working.
The following shows an example of the results of adding the **DisplayError** parameter with an expression.

PS \> Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError
DayOfWeek $_ / $null
--------- ------------
Wednesday #ERR
```powershell
PS C:\> Get-Date | Format-Wide { $_ / $null } -DisplayError


#ERR
```

```yaml
Type: SwitchParameter
Expand Down
16 changes: 9 additions & 7 deletions reference/4.0/Microsoft.PowerShell.Utility/Format-Wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@ Accept wildcard characters: False
```

### -DisplayError
Displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a Format-Wide command, and the expressions do not appear to be working.
The following shows an example of the results of adding the DisplayError parameter with an expression.
Indicates that this cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a `Format-Wide` command, and the expressions do not appear to be working.
The following shows an example of the results of adding the **DisplayError** parameter with an expression.

PS \> Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError
DayOfWeek $_ / $null
--------- ------------
Wednesday #ERR
```powershell
PS C:\> Get-Date | Format-Wide { $_ / $null } -DisplayError


#ERR
```

```yaml
Type: SwitchParameter
Expand Down
16 changes: 9 additions & 7 deletions reference/5.0/Microsoft.PowerShell.Utility/Format-Wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@ Accept wildcard characters: False
```

### -DisplayError
Indicates that the cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a **Format-Wide** command, and the expressions do not appear to be working.
The following shows an example of the results of adding the *DisplayError* parameter with an expression.
Indicates that this cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a `Format-Wide` command, and the expressions do not appear to be working.
The following shows an example of the results of adding the **DisplayError** parameter with an expression.

PS \> Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError
DayOfWeek $_ / $null
--------- ------------
Wednesday #ERR
```powershell
PS C:\> Get-Date | Format-Wide { $_ / $null } -DisplayError


#ERR
```

```yaml
Type: SwitchParameter
Expand Down
14 changes: 8 additions & 6 deletions reference/5.1/Microsoft.PowerShell.Utility/Format-Wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,15 @@ Accept wildcard characters: False

### -DisplayError
Indicates that this cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a **Format-Wide** command, and the expressions do not appear to be working.
The following shows an example of the results of adding the *DisplayError* parameter with an expression.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a `Format-Wide` command, and the expressions do not appear to be working.
The following shows an example of the results of adding the **DisplayError** parameter with an expression.

PS \> Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError
DayOfWeek $_ / $null
--------- ------------
Wednesday #ERR
```powershell
PS C:\> Get-Date | Format-Wide { $_ / $null } -DisplayError


#ERR
```

```yaml
Type: SwitchParameter
Expand Down
14 changes: 8 additions & 6 deletions reference/6/Microsoft.PowerShell.Utility/Format-Wide.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,15 @@ Accept wildcard characters: False

### -DisplayError
Indicates that this cmdlet displays errors at the command line.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a **Format-Wide** command, and the expressions do not appear to be working.
The following shows an example of the results of adding the *DisplayError* parameter with an expression.
This parameter is rarely used, but can be used as a debugging aid when you are formatting expressions in a `Format-Wide` command, and the expressions do not appear to be working.
The following shows an example of the results of adding the **DisplayError** parameter with an expression.

PS \> Get-Date | Format-Wide DayOfWeek,{ $_ / $null } -ShowError
DayOfWeek $_ / $null
--------- ------------
Wednesday #ERR
```powershell
PS C:\> Get-Date | Format-Wide { $_ / $null } -DisplayError


#ERR
```

```yaml
Type: SwitchParameter
Expand Down