views:

621

answers:

1

Hi all,

I am after a example of some code in powershell using the threadpool. my friends at google can not help me. Any example would be great.

Donald

+2  A: 

From my experience, using the threadpool in V1 crashes the session.

There is a blog post here about creating threads and includes some code.

V2 has support for background jobs and other runspaces, but that is still in CTP... Hopefully there will be more updates from PDC about the status of V2 (other than that it will be installed by default in Server 2008 R2).

Steven Murawski