Welcome to ThePowerShellGuy.com Sign in | Join | Help

Browse by Tags

All Tags » powershell » runspaces   (RSS)

An example of how to use New-TaskPool

Those that have been reading my blog for awhile may remember the New-Taskpool script. Basically the script allows me to have multiple runspaces running simultaneously. If we give each runspace an object and a scriptblock... we can run through time consuming
Posted by Gaurhoth | (Comments Off)
Attachment(s): New-TaskPool.txt

New-TaskPool v0.8 Bug Fix

It’s been a very long time since my last post. Excuses include an insane job situation involving a recent manager's departure as well as my recent purchase of a new home that has occupied most every free minute. So with that out of the way, here’s an
Posted by Gaurhoth | (Comments Off)
Attachment(s): New-TaskPool.txt

New-TaskPool.ps1 - Threading the Powershell way Pt 2

I’ve made a few modifications to New-TaskPool. My original script couldn’t easily be loaded into your profile. You had to specify the script file ( .\New-TaskPool.ps1 ). This quickly became a problem as I would invariably be in the wrong folder and typing
Posted by Gaurhoth | (Comments Off)
Attachment(s): New-TaskPool.txt