Skip to content
Menu
The Lonely Administrator
  • PowerShell Tips & Tricks
  • Books & Training
  • Essential PowerShell Learning Resources
  • Privacy Policy
  • About Me
The Lonely Administrator

Deep Dive Formatting and Type Extensions

Posted on April 26, 2011

At the PowerShell Deep Dive, I did a short presentation on using format and type extensions. There was a lot of demo crunched into a very short period of time. Needless to say this is a complex topic that we could spend a lot of time on. But for now, let me share my slide deck and demo scripts.

Manage and Report Active Directory, Exchange and Microsoft 365 with
ManageEngine ADManager Plus - Download Free Trial

Exclusive offer on ADManager Plus for US and UK regions. Claim now!

The DeepDive-Format-Type-Extensions is pretty short. The meat of the session was in the demos which you can download here. The zip file contains a number of PS1 files but these are not intended as scripts to run. They are used by the ubiquitous Start-Demo script. You should open them in a script editor and go through them line by line. I'm hoping there are enough comments to help. Any code you try to execute to load the type extension files assumes the ps1xml files are in the current location.


Behind the PowerShell Pipeline

Share this:

  • Click to share on X (Opens in new window) X
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to print (Opens in new window) Print
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

3 thoughts on “Deep Dive Formatting and Type Extensions”

  1. James Tryand says:
    April 26, 2011 at 4:19 pm

    In the about_format documentation, all the xml references to ‘Complex’ such as should refer to ‘Custom’ like . There is also a concerning lack of documentation on the use of this xml, only the direct usage is found in the actual ps1xml files. If anyone can find anything else ( or knows how to generate some kinda documentation ) then that would be awesome.

    1. Jeffery Hicks says:
      April 26, 2011 at 5:47 pm

      I encourage you to post that information online and leave a comment. http://technet.microsoft.com/en-us/library/dd315396.aspx. June is very responsive to getting stuff right. In fact, I see some updates online already for this topic.

  2. Pingback: Deep Dive Formatting and Type Extensions - The Lonely Administrator - Powershell.com – Powershell Scripts, Tips and Resources

Comments are closed.

reports

Powered by Buttondown.

Join me on Mastodon

The PowerShell Practice Primer
Learn PowerShell in a Month of Lunches Fourth edition


Get More PowerShell Books

Other Online Content

github



PluralSightAuthor

Active Directory ADSI Automation Backup Books CIM CLI conferences console Friday Fun FridayFun Function functions Get-WMIObject GitHub hashtable HTML Hyper-V Iron Scripter ISE Measure-Object module modules MrRoboto new-object objects Out-Gridview Pipeline PowerShell PowerShell ISE Profile prompt Registry Regular Expressions remoting SAPIEN ScriptBlock Scripting Techmentor Training VBScript WMI WPF Write-Host xml

©2025 The Lonely Administrator | Powered by SuperbThemes!
%d