Slide 6
Slide 6 text
v
Prelude: A Touch of PowerShell
• Modern Interactive object-oriented shell
– Inspired by ksh, syntax from C#, blocks from Ruby, cmd syntax from
DCL
– Being a shell makes the syntax a bit weird
• All the usual stuff: regex, first-class functions, array and hashtable literals,
modules, classes (as of PowerShell V5)
• Underlying type system is .NET
– Can access any .NET API directly
– Can inline code written C#, VB, F#, IronPython, IronRuby etc.
• Built-in “remoting”
• Type-preserving remote execution over HTTP using MS-PSRP
• Hostable and embeddable (like TCL)
– Can be loaded into multiple host (including Visual Studio thru PoshTools)