$30 off During Our Annual Pro Sale. View Details »


October 13, 2016


A lightning talk for the Portland PowerShell User Group about how I use PowerShell as a developer at Puppet


October 13, 2016

More Decks by Glenn

Other Decks in Technology


  1. powershell@puppet.com @glennsarti

  2. Me • Senior Software Engineer at Puppet Specialising in Windows

    • 15 years in Desktop Engineering and IT Navy, Government, Mining, Finance, Corporate • DevOps advocate @glennsarti
  3. 1. Simple developer tools Day to day helpful things 2.

    PS Module for VM Pooler Using the VM Pooler API and a WPF GUI 3. The Powershell Module for Puppet A story of next level shenanigans @glennsarti
  4. Simple developer tools @glennsarti

  5. Demo time? @glennsarti

  6. PS Module for VM Pooler @glennsarti

  7. What is VM Pooler? “Provide configurable 'pools' of instantly available

    (running) virtual machines” @glennsarti
  8. @glennsarti

  9. It has a REST API so … Invoke-RESTMethod time! @glennsarti

  10. But where’s the demo?

  11. The Powershell Module for Puppet … @glennsarti

  12. … Next level shenanigans @glennsarti

  13. exec { 'rename-guest': command => '… <powershell> …', onlyif =>

    '… <powershell> …', provider => powershell, } @glennsarti
  14. v1.0.6 @glennsarti

  15. @glennsarti EXEC powershell.exe powershell.exe powershell.exe powershell.exe EXEC

  16. v2.0.0 @glennsarti

  17. @glennsarti EXEC powershell.exe EXEC RS+ RS+ RS+ RS+

  18. Benefits @glennsarti

  19. v2.0.2 @glennsarti

  20. @glennsarti EXEC powershell.exe (+) EXEC RS RS RS RS

  21. Benefits @glennsarti

  22. … and then on the 4th August @glennsarti

  23. (MODULES-3690) Powershell module hangs on latest Powershell (5.1.14394.1000) @glennsarti

  24. @glennsarti PowerShell GH Issue #2068 (Curly) PowerShell GH Issue #2071

  25. v2.0.4 (soon) @glennsarti

  26. puppet @glennsarti EXEC powershell.exe (+) EXEC RS RS RS RS

    Named Pipes
  27. Benefits @glennsarti


  29. https://github.com/puppetlabs/puppetlabs-powershell @glennsarti http://glennsarti.github.io/ https://speakerdeck.com/glennsarti All images are copyright of their

    respective owners