Skip to content

Export-FormatData XML output #6699

@iSazonov

Description

@iSazonov

In #6691 we made that Export-FormatData returns pretty-printing XML output by default as requested in #6681.

Users may need a different output:
-AsXML - output [xml] object
-AsXMLString or -AsString - output compact XML string without formatting.
-Encoding - set encoding of output file .

And perhaps add option to output to pipe not file and -PassThru.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifWG-Cmdlets-Utilitycmdlets in the Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions