DSC icon indicating copy to clipboard operation
DSC copied to clipboard

A11y_DesiredStateConfiguration_DSC: Output data for "dsc resource list" is truncating

Open Mahesh2630-git opened this issue 8 months ago • 3 comments

Prerequisites

  • [x] Write a descriptive title.
  • [x] Make sure you are able to repro it on the latest version
  • [x] Search the existing issues.

Summary

Output data for "dsc resource list" is truncating

Steps to reproduce

GitHub Tags:

#A11yFunctional; #A11yTCS; #DesktopApp; #BM_DesiredStateConfiguration_Win32_Apr25; #Win32; #Benchmark; #Win11; #Rev:shta;

Environment and OS details:

PowerShell Version: PowerShell 7.5.0 Windows 11 Enterprise Version 24H2 Installed on ‎18-‎10-‎2024 OS build 26100.3775 Experience Windows Feature Experience Pack 1000.26100.66.0

Pre-Requisite:

  • Install and open PowerShell

Repro Steps:

  1. Open a Shell
  2. In the shell, type "dsc resource list".
  3. Output will load.
  4. Observe that output content is truncating.

Expected behavior

After entering "dsc resource list" command in PowerShell Output data should be visible in normal view

Actual behavior

Output data for "dsc resource list" is truncating in normal view

Error details


Environment data

PowerShell 7.5.0

Version

dsc 3.0.2

Visuals

https://github.com/user-attachments/assets/5deeb4cf-9bbf-43ed-a642-241cdc9bb788

Mahesh2630-git avatar Apr 25 '25 09:04 Mahesh2630-git

@Mahesh2630-git the current behavior is intended to truncate to width of terminal. Is there existing precedent for what other native tools that have a table view do? We could add a new --output-format as table-no-truncate, but would prefer to adapt any existing precedents to have it consistent.

SteveL-MSFT avatar Apr 25 '25 22:04 SteveL-MSFT

cc @theJasonHelmick

SteveL-MSFT avatar Apr 27 '25 19:04 SteveL-MSFT

I think what I'll do is add what I proposed above.

SteveL-MSFT avatar May 07 '25 19:05 SteveL-MSFT