# Formatting console output

**URL:** <https://forums.powershell.org/t/formatting-console-output/8657>\
**Category:** PowerShell Help\
**Created:** [May 18, 2017, 2:24pm UTC](https://forums.powershell.org/t/formatting-console-output/8657 "2017-05-18T14:24:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph-casale](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@joseph-casale](https://forums.powershell.org/u/joseph-casale)\
**Post date:** [May 18, 2017, 2:24pm UTC](https://forums.powershell.org/t/formatting-console-output/8657/1 "2017-05-18T14:24:27Z")

</div>

I have a collection of PSObjects that I write to the console through Sort-Object. One of the fields is multi valued, is it possible to force the display to expand the variable and make it wrap?

```
PS K:\> $seq = 1..1000
PS K:\> $o = New-Object PSObject -Property @{One=1;Two=2;Seq=$seq}
PS K:\> $o |fl

One : 1
Seq : {1, 2, 3, 4...}
Two : 2
```

---

<div class="post-metadata">

**Author:** ![matt-bloomfield](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@matt-bloomfield](https://forums.powershell.org/u/matt-bloomfield)\
**Post date:** [May 18, 2017, 3:33pm UTC](https://forums.powershell.org/t/formatting-console-output/8657/2 "2017-05-18T15:33:08Z")

</div>

Found on:  
https:// [Viewing Truncated PowerShell Output | greiginsydney.com](http://greiginsydney.com/viewing-truncated-powershell-output/)

```
$formatEnumerationLimit = -1
$o | fl
```

Edit: broke the link to stop the WP site embedding.

---

<div class="post-metadata">

**Author:** ![joseph-casale](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@joseph-casale](https://forums.powershell.org/u/joseph-casale)\
**Post date:** [May 18, 2017, 4:06pm UTC](https://forums.powershell.org/t/formatting-console-output/8657/3 "2017-05-18T16:06:01Z")

</div>

Brilliant, thanks!

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:38pm UTC](https://forums.powershell.org/t/formatting-console-output/8657/4 "2024-05-16T20:38:44Z")

</div>

Closed on May 16, 2024, 8:38pm UTC


