Formatting in both DotNetTypes.format.ps1xml and Types.ps1xml

Welcome Forums General PowerShell Q&A Formatting in both DotNetTypes.format.ps1xml and Types.ps1xml

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
3 months, 2 weeks ago.

  • Author
    Posts
  • #103943
    lit

    Participant
    Points: 0
    Rank: Member

    System.Diagnostics.Process has a layout specified in DotNetTypes.format.ps1xml.

    Why is there another one in Types.ps1xml?

  • #103981

    Keymaster
    Points: 7
    Rank: Member

    The latter is used by the extensible type system, not a layout. Update-FormatData vs Update-TypeData.

The topic ‘Formatting in both DotNetTypes.format.ps1xml and Types.ps1xml’ is closed to new replies.