Queueing Theory for the Busy PowerShell Admin

The biggest scripting event of the year is getting close to wrapping up - Scripting Games 2012! There have been a ton of great challenges, a ton of great competitors, and a ton of great commentary.

As one of the guest commentators, I was asked to write a script to monitor uptime on servers in the environment.

To make this as efficient as possible, the solution leveraged WMI jobs to process 32 computers at a time. What’s most amazing about Windows PowerShell jobs running 32 tasks in parallel is not that it makes things 32 times faster. It’s that it makes them even faster than that! The reason is a branch of computer science called “queueing theory.”

For the surprising and cool reasons why, see the blog post here: http://blogs.technet.com/b/heyscriptingguy/archive/2012/04/23/expert-commentary-2012-scripting-games-advanced-event-6.aspx.

Leave a Reply