PowerShell for DevelopersThe bits that the admins don’t care aboutDamian Powellhttp://www.ByBox.com/damian.powell@bybox.com@damianpowellhttp://www.myByBox.com/
Uses for PowerShellPowerShell is .NETAnd COM, and WMI, and cmd.exeREPL (Read-Eval-Print-Loop)It’s not just for tree huggers and other dynamic language fansConfiguration and ScriptingImplementing configuration in an imperative language, means we can branch our configuration at runtime
PowerShell is .NETEverything is a .NET objectFull access to the .NET FrameworkWeird syntax is based on POSIX shellPOSIX or "Portable Operating System Interface [for Unix]" is the name of a family of related standards specified by the IEEE - http://en.wikipedia.org/wiki/POSIXBack tick (`) is the escape character, *not* back slash (\)…unless you’re defining a Regex which still uses back slash
Cool Things to do with PowerShellPSake (PowerShell Make) http://is.gd/e8WC9http://github.com/JamesKovacs/psakeEmbedded script engine http://is.gd/e8Wmmhttp://blogs.msdn.com/b/powershell/archive/2007/08/29/making-applications-scriptable-via-powershell.aspxCall web services http://is.gd/e8Wxohttp://technet.microsoft.com/en-us/library/dd315258.aspxConfigure Hyper-V http://is.gd/e8WFkhttp://pshyperv.codeplex.com/Load a .NET Assembly http://is.gd/e8WNahttp://technet.microsoft.com/en-us/library/dd315241.aspxRead/Write XML http://is.gd/e8WUjhttp://www.codeproject.com/KB/powershell/powershell_xml.aspx
LinksIntro from Jeffrey Snover (PowerShell Architect):http://www.blip.tv/file/1740647PoShWindsor (my project for configuring Castle Windsor using PowerShell):http://poshwindsor.codeplex.com/These slides:http://is.gd/e8VXPhttp://www.slideshare.net/damianpowell/power-shell-for-developers

PowerShell for Developers

  • 1.
    PowerShell for DevelopersThebits that the admins don’t care aboutDamian Powellhttp://www.ByBox.com/damian.powell@bybox.com@damianpowellhttp://www.myByBox.com/
  • 2.
    Uses for PowerShellPowerShellis .NETAnd COM, and WMI, and cmd.exeREPL (Read-Eval-Print-Loop)It’s not just for tree huggers and other dynamic language fansConfiguration and ScriptingImplementing configuration in an imperative language, means we can branch our configuration at runtime
  • 3.
    PowerShell is .NETEverythingis a .NET objectFull access to the .NET FrameworkWeird syntax is based on POSIX shellPOSIX or "Portable Operating System Interface [for Unix]" is the name of a family of related standards specified by the IEEE - http://en.wikipedia.org/wiki/POSIXBack tick (`) is the escape character, *not* back slash (\)…unless you’re defining a Regex which still uses back slash
  • 4.
    Cool Things todo with PowerShellPSake (PowerShell Make) http://is.gd/e8WC9http://github.com/JamesKovacs/psakeEmbedded script engine http://is.gd/e8Wmmhttp://blogs.msdn.com/b/powershell/archive/2007/08/29/making-applications-scriptable-via-powershell.aspxCall web services http://is.gd/e8Wxohttp://technet.microsoft.com/en-us/library/dd315258.aspxConfigure Hyper-V http://is.gd/e8WFkhttp://pshyperv.codeplex.com/Load a .NET Assembly http://is.gd/e8WNahttp://technet.microsoft.com/en-us/library/dd315241.aspxRead/Write XML http://is.gd/e8WUjhttp://www.codeproject.com/KB/powershell/powershell_xml.aspx
  • 5.
    LinksIntro from JeffreySnover (PowerShell Architect):http://www.blip.tv/file/1740647PoShWindsor (my project for configuring Castle Windsor using PowerShell):http://poshwindsor.codeplex.com/These slides:http://is.gd/e8VXPhttp://www.slideshare.net/damianpowell/power-shell-for-developers