Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: View PowerShell Formatting Data

$
0
0

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

$f.FormatViewDefinition.control

$f.FormatViewDefinition.Control.headers


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>