A community member has associated this post with a similar question:
Azure DevOps Pipeline logs are truncating tables
Only moderators can edit this content.
Azure Devops Pipeline logs appear to be truncating tables
When using a Run Powershell on Target Machine task in a pipeline job the logs are truncating ouput in tables. This happens even when the collum widths are explicitly set.
This is clearly not a limit that the overall logs have with display width as other lines in the same log are much longer:
The above log is generated with the following command:
get-item -path env:\* | Format-Table -Property @{n="Hostname";e={$env:computername}; width=15},@{ e='Name'; width=35}, @{ e='value'; width=120}
For Example, the "Value" column is being truncated for the "Path" entry well before the 120 character limit.
The command formats as expected when run directly on a computer using powershell or when run remotely in powershell via Invoke-Command.
How do I get the pipeline log to display the table as intended?