Video: The Art of PowerShell Runspaces

Last Tuesday, PowerShell MVP Boe Prox presented an interesting session on “The Art of PowerShell Runspaces” for the September Mississippi PowerShell User Group meeting.

PowerShell runspaces are a known but little documented area that can help to provide performance improvements in your scripts. Besides just using this for performance gains, you can use this to provide a snappier approach to building GUIs in PowerShell. This presentation will show you examples of using Runspaces, RunspacePools as well as utilizing shared variables that can be viewed and modified in multiple runspaces during runtime. Also being demoed is a module called PoshRSJob which provides runspace multhreading in a familiar jobs infrastructure.

The video from that presentation is now available:

 

The code examples and slide deck that Boe provided can be downloaded from here.

Boe Prox is a Microsoft MVP in Windows PowerShell and a Senior Windows System Administrator. He has worked in the IT field since 2003, and he supports a variety of different platforms. He is a contributing author in PowerShell Deep Dives with chapters about WSUS and TCP communication. He is a moderator on the Hey, Scripting Guy! forum, and he has been a judge and coach for the Scripting Games. He has presented talks on the topics of WSUS and PowerShell as well as runspaces to PowerShell user groups. He is an Honorary Scripting Guy, and he has submitted a number of posts as a to Microsoft’s Hey, Scripting Guy! and is a writer for MCPMag.com. He also has a number of open source projects available on Codeplex and GitHub. His personal blog is at http://learn-powershell.net.

The Mississippi PowerShell User Group Meetings are held online (via Skype for Business) on the second Tuesday of each month at 8:30pm Central Time and are free to attend. The system requirements to attend these online meetings can be found on the MSPSUG website under the “Attendee Info” section.

µ

Leave a Reply