Skip to content
Discussion options

You must be logged in to vote

Because -AutoSize has to collect all the output first to know what the widest content is, and that can slow down the display. You can compare these 2 examples: ls C:\ | foreach {Start-Sleep -Milliseconds 200; $_} VS ls C:\ | foreach {Start-Sleep -Milliseconds 200; $_} | ft -AutoSize the first one streams the content slowly, while the other waits for all items to be collected before showing them.

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@beedell-roke
Comment options

@MartinGC94
Comment options

Answer selected by beedell-roke
Comment options

You must be logged in to vote
3 replies
@beedell-roke
Comment options

@kilasuit
Comment options

@beedell-roke
Comment options

Comment options

You must be logged in to vote
2 replies
@beedell-roke
Comment options

@237dmitry
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants