PowerTip: View PowerShell Formatting Data

The Scripting Guys


Summary: Learn how to view the formatting data for a Windows PowerShell type.

Hey, Scripting Guy! Question How can I use Windows PowerShell to view the formatting data for a particular type?

Hey, Scripting Guy! Answer Examine the output from Get-Member to find the type you are interested in, then use
          the Get-FormatData cmdlet. Store the returned object in a variable and explore it
          the way you do any other Windows PowerShell object.

$f=Get-FormatData -TypeName ModuleInfoGrouping



The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.