Forgot your password?
typodupeerror

Comment PPT Deck with Architecture (Score 1) 742

Here is the deck Jeffery presented at WinHEC 2005 a few months ago. It goes over the architecture and there are some examples at the end. Having been a BASH guy in the past, I really like the ability to pipe objects. Someone mentioned that it shouldn't be that hard to do this with any OO language and serialize it to the StdOut, but that's NOT what's happening here between each |. There is a defualt write-host formatter that does write the object or collection of objects to StdOut if there no processor at the next step of the pipeline. Cool things I like:
  • Can use .NET Reflection over the objects on the command line (e.g. $> [System.IO.Ports.SerialPort] | get-members)
  • Can directly invoke static methods on .NET Classes (e.g. [System.Math.PI])
  • PROVIDERS!!! I can mount the registry, an LDAP Path, certificate stores, even variables and alias via cd HKLM:, cd LDAP:, cd CERT:, and cd VARIABLE: respectively. This is also extensible so that if you can author your own provider
  • -whatif, -confirm, -ii

Slashdot Top Deals

Real Users find the one combination of bizarre input values that shuts down the system for days.

Working...