Closed TravisEz13 closed 3 years ago
@TravisEz13 Which document would this go in? Is this new to v6.2? Can you give examples for how to use this?
It would be in one of these documents: https://github.com/MicrosoftDocs/PowerShell-Docs/blob/db9992a9db45f53db0c1a969b28b3f1ccddb8924/developer/format/formatting-file-concepts.md
I don't see a perfect match.
I included an example of how to use it in the issue.
This was added at least in PowerShell 4.0 (I checked the boxes)
What about about_Format.ps1xml.md
?
FYI, I'm working with a partner on this and produced more complete examples here: https://github.com/TravisEz13/PSFormattingExamples
https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Format.ps1xml.md and all the others seems right.
Issue Details
It supports list and custom controls
It tells the formatter that the object should be formatted using this objects format, even if a format has already been chosen for the output
in ps1xml
Version(s) of document impacted
Reason(s) for not selecting all version of documents