microsoft/CSS-Exchange

[Work Item] Create a Shared Function(s) for displaying object in a common format to avoid lots of lines of code/code changes

Open

#1,773 opened on Jul 21, 2023

View on GitHub
 (0 comments) (0 reactions) (0 assignees)PowerShell (234 forks)batch import
Work Itemgood first issue

Repository metrics

Stars
 (985 stars)
PR merge metrics
 (Avg merge 5d 1h) (15 merged PRs in 30d)

Description

Describe the work Would like to move and create more functions similar to this:

https://github.com/microsoft/CSS-Exchange/blob/fc8b7ada30c101a5bda0d07c1ba66262d7d91356/Search/Troubleshoot-ModernSearch/Write/WriteHelpers.ps1

This will help the display of object a little bit better and avoid formatting issues like this:

image

Where adding a color code format to the object being displayed required multiple lines to be adjusted and if we add another attribute to the object that is longer, we have to then adjust all the lines as well to keep the same formatting.

Contributor guide