Please feel free to provide feedback or file bugs here.

new parameter -markdown for Format-Table

Example:

$Get-Process | select -First 5 | ft -au

Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
716 47 32832 43396 587 1764 AdminManagerClient
257 34 3432 9352 84 1128 AgentService
495 78 15700 28528 154 3744 AppVClient
244 35 60952 41796 692 0.56 5416 AppVStreamingUX
591 18 17280 22992 108 1,751.98 4672 audiodg

$Get-Process | select -First 5 | ft -markdown

|Handles|NPM(K)|PM(K)|WS(K)|VM(M)| CPU(s)| Id|ProcessName |
|-------|------|-----|-----|-----|--------|----|------------------|
| 716| 47|32832|43396| 587| |1764|AdminManagerClient|
| 257| 34| 3432| 9352| 84| |1128|AgentService |
| 495| 78|15700|28528| 154| |3744|AppVClient |
| 244| 35|60952|41796| 692| 0.56|5416|AppVStreamingUX |
| 591| 18|17280|22992| 108|1,751.98|4672|audiodg |

This could be pasted to a morkdown file and would be nicely rendered as a table.

The Other way to read tables from markdown woulb de nice to. It would require a syntax for naming tables and referencing them in markdown. It would allow very readable configuration files.

(Sorry here is no monospace font available)

5 votes
Sign in
(thinking…)
Password icon
Signed in as (Sign out)

We’ll send you updates on this idea

Frank Behrens shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Bart commented  ·   ·  Flag as inappropriate

    An alternative would be something like a new Cmdlet called Format-Markdown.

Feedback and Knowledge Base