Skip to content

Commit f3f4191

Browse files
matt9ucciv-alje
authored andcommitted
Fix example: "Controlling Format-Wide Display with Column" (#4007)
1 parent da0cc1a commit f3f4191

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

reference/docs-conceptual/samples/Using-Format-Commands-to-Change-Output-View.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,20 @@ PS> Get-Process -Name powershell | Format-Wide -Property Id
4343

4444
#### Controlling Format-Wide Display with Column
4545

46-
With the **Format-Wide** cmdlet, you can only display a single property at a time. This makes it useful for displaying simple lists that show only one element per line. To get a simple listing, set the value of the **Column** parameter to 1 by typing:
46+
With the `Format-Wide` cmdlet, you can only display a single property at a time.
47+
This makes it useful for displaying simple lists that show only one element per line.
48+
To get a simple listing, set the value of the **Column** parameter to 1 by typing:
4749

4850
```powershell
49-
Get-Command Format-Wide -Property Name -Column 1
51+
Get-Command -Verb Format | Format-Wide -Property Noun -Column 1
52+
```
53+
54+
```output
55+
Custom
56+
Hex
57+
List
58+
Table
59+
Wide
5060
```
5161

5262
### Using Format-List for a List View

0 commit comments

Comments
 (0)