ITPro Today logo
IT InfrastructureCreating a Custom Type ExtensionCreating a Custom Type Extension
Take almost any object in PowerShell - a process, a service, or what have you. Pipe it to Get-Member. You'll doubtless notice properties and methods, and perhaps even an event or two. Those are the things that object was "born" with; you'll also notice additional members like ScriptProperty, ScriptMethod, AliasProperty, and so on. Those were dynamically added to the object by PowerShell's Extensible Type System, or ETS. Why? What for?
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.