PowerShell usually is not hiding data. More often, it trims formatted text, wraps lines to the host width, or prints only the properties you selected. Ignore that split, and you can miss the end of a path, command output, or JSON field. This guide shows how to separate display limits from real data loss, and which output method fits each case.
Why objects stay intact but the display gets cut
Most often, the object is intact and only the display is getting cut. PowerShell pipelines structured objects instead of plain text, so the same command can look different in a table, a list, a file, or a remote session. The quickest check is to rerun the command with Format-List * or pipe the result to Out-String -Width 4096.
Likely causes, ranked
- Default table formatting cuts wide columns. Many cmdlets use a table view that trims long values to fit the console.
- Select-Object only shows what you asked for. That can make properties seem missing when they were never selected.
- Console width clips the view. A narrow host window or buffer width can hide the right side of a line.
- Remoting, jobs, and file capture change what you see. Formatting on the remote side or later string conversion can change the visible result.
How do I stop PowerShell output from getting cut off?
Use the output form that matches the task. For a quick on-screen check, Format-List shows full property values one per line. For table-shaped data, Format-Table -Wrap helps only when you still want a table. For text capture, widen the host or use Out-String -Width so the console does not force lines shorter than needed.
- Try list output first. Run
Get-Process | Format-List *or swap in your own command. That is the fastest way to see if the missing content is only a table-view issue. - Widen the host. In Windows Terminal or ConsoleHost, drag the window wider, then rerun the command. If the right edge appears only after widening, the host width was clipping the output.
- Use a larger text width. Pipe to
Out-String -Width 4096when you need a text block for display or logging, such asGet-ChildItem | Out-String -Width 4096. A larger width keeps long rows from folding early.
Picture a file path like C:\Users\Public\Documents\VeryLongFolderName\Reports\2026\January. In a narrow console, the path may stop at the margin. The object is still complete; the display is not.
Why does Select-Object only show partial properties in PowerShell?
Select-Object projects objects, so it prints only the properties you select. If you ask for too few fields, the others are excluded from the output object, not merely hidden. That is different from table truncation. Use -ExpandProperty for a single nested value, or a calculated property when you need to flatten related data into a readable field.
- Check the selected fields. Compare
Get-Item .\sample.txt | Select-Object *withGet-Item .\sample.txt | Select-Object Name, Length, LastWriteTime. The second command leaves out every other property on purpose. - Expand a nested value. Use
Select-Object -ExpandPropertyfor one nested property that actually exists on the object you are querying. For example,Get-Command powershell.exe | Select-Object -ExpandProperty Sourcereturns the property value itself instead of a wrapper object. - Use a calculated property. Flatten wide or nested data with a hashtable, for example:
Select-Object Name, @{Name='ModuleCount';Expression={$_.Modules.Count}}. This keeps the result small enough for a table while preserving the value you need. If a property is not available on the object, choose a different object or inspect its members first.
A common first-time mistake is selecting only Name and ID from a service object, then assuming the other properties disappeared. They were never requested, so they never entered the pipeline output.
How do I view the full output of a PowerShell command?
Use Format-List when you want each property on its own line and every property visible. It is the safest choice for detailed objects, especially when a table view would trim values or squeeze columns. If you need plain text instead of formatted objects, use Out-String after formatting, not before.
- Switch to list view. Run
Get-EventLog -LogName System -Newest 1 | Format-List *only in Windows PowerShell where that cmdlet is available; in PowerShell 7, use a compatible source such asGet-WinEventand then format the result. List output keeps long property values visible. - Capture as text. Use
Get-Service | Format-List * | Out-String -Width 4096when you need a complete text block for copy, paste, or a log file. - Save to a file if needed. For a long result, redirect the string output to a text file:
Get-Service | Format-List * | Out-String -Width 4096 | Set-Content .\services.txt.
How can I make PowerShell show all columns in a table
Use Format-Table when the result is naturally tabular, but know its limits. It can auto-size columns, and -Wrap can break long values onto multiple lines. It still formats to the host width, so a narrow console can make a table look incomplete even when the object is fine. For wide objects, Format-List is usually the better choice.
- Try auto-sizing first. Run
Get-Process | Format-Table -AutoSize. This lets PowerShell size columns from the data it sees, which can improve readability for short fields. - Wrap long values. Add
-Wrapwhen a column contains long text, such asGet-ChildItem | Format-Table Name, FullName -Wrap. Wrapped cells stay visible, but the output becomes taller. - Widen the window. Increase the console or terminal width before rerunning the command. If the table still clips, switch to
Format-List *or export the data instead of forcing a table.
PowerShell output troubleshooting matrix
This matrix helps you choose between table, list, string, and CSV output based on the symptom you see. Use the quick test first, then pick the fix that matches the problem.
| Symptom | Likely cause | Quick test | Best fix |
|---|---|---|---|
| Table columns end with ellipses | Default table formatting is trimming wide values | Get-Process | Format-List * |
Use Format-List for details, or Format-Table -Wrap for a table view |
| Long strings stop at the right edge | Console or terminal width is too narrow | Widen the window and rerun the command | Increase host width or pipe to Out-String -Width 4096 |
Only some properties appear after Select-Object |
Property projection removed the rest | ... | Select-Object * |
Select the needed fields explicitly, or use -ExpandProperty |
| A nested object shows as a type name | The property was not expanded | ... | Select-Object NestedProperty |
Use Select-Object -ExpandProperty NestedProperty |
| Remote output looks shorter than expected | The remote command formatted output before serialization, or the local host reformatted it | Run the command without Format-Table or Format-List on the remote side |
Return objects from the remote session, then format locally |
| Job output looks incomplete | The job returned serialized objects or formatted text instead of raw objects | Receive-Job -Keep |
Inspect the raw object with Receive-Job, then format it locally |
| CSV has all rows but the console looked clipped | Console formatting was the issue, not the data | Export-Csv the same command |
Use Export-Csv for complete tabular data |
| Text file misses part of a long line | Width was too small during string conversion or redirection | Out-String -Width 4096 |
Increase width before piping to a file or use structured export |
What to do for remoting, jobs, and exports
Remote sessions and jobs can change what reaches your screen because they may serialize objects or return formatted text after the command runs. For complete tabular data, use Export-Csv. For a text capture, use Out-String -Width. If the remote command already formatted the output, rerun it so the remote side returns objects instead.
- Export structured data. Use
Get-Process | Select-Object Name, Id, CPU | Export-Csv .\processes.csv -NoTypeInformation. CSV keeps the columns and rows, which makes it better than screen output for complete tabular data. - Capture full text. Use
Get-Process | Format-List * | Out-String -Width 4096 | Set-Content .\processes.txt. The width value keeps long lines from wrapping early. - Keep formatting local. In a remote session, run the data command first, then format on your local machine. That avoids remote-side table trimming before the object reaches your console.
Suppose a remote command returns service objects from a server, but the remote script includes Format-Table before the final output. The result may look clipped on your screen even though the underlying objects had more properties.
Still not working?
If the output still looks wrong, check the host, the PowerShell edition, and the file path used for capture. PowerShell 7 runs on Windows, Linux, and macOS and uses modern .NET, while Windows PowerShell is the legacy Windows-only edition. Some formatting behavior differs between them, and some hosts handle width and scrolling better than others.
- Check the edition. Run
$PSVersionTable.PSVersionand$PSVersionTable.PSEdition. If you are on Windows PowerShell and the behavior is odd, try the same command in PowerShell 7. - Try another host. Test in Windows Terminal, the classic console, or PowerShell ISE if it is already installed. PowerShell ISE is a GUI editor and debugger, and its display behavior differs from a terminal host.
- Verify file output. If redirection is involved, inspect the exact command and file encoding. Use
Set-Content -Encoding utf8orOut-File -Width 4096when you need a specific text layout.
Choose the output type before you need to read it. Use Format-List for inspection, Format-Table -Wrap for on-screen columns, Out-String -Width 4096 for text capture, and Export-Csv when the data needs to stay structured.
Frequently asked questions
Why is PowerShell not showing full output?
It usually means the display layer is trimming the result, not that the object is incomplete. Try Format-List * first, then check whether the console window is narrow. If you need text, Out-String -Width 4096 keeps more of the line visible.
Why does PowerShell hide long text or wrap it badly?
The console width and the table formatter control how long values appear. A narrow host can clip text, and a table can compress columns until the value is shortened. Increase the window size, then try Format-List or Out-String -Width 4096.
How do I export PowerShell output so nothing is truncated?
Use Export-Csv for structured rows and columns, or Out-String -Width 4096 for plain text. If you are exporting from a remote command, return objects first and format locally. That keeps the data intact before it reaches the file.