need help for output with runspaces

Hi,

I’m working on a personnal project and try to learn about GUI and runspaces for multithreading purpose.

I would like to run commands ( ping , os info, network info …) for all computers in the listview " selected computers"

open a runspacepool for each computer

the output (wich is different for each command) should be outputted in the listview “Output”

My issue if for the formating and the output data

any help would be very appreciated

Hey pacos1300078,

This post keeps getting caught by our spam filtering - possibly down to the XML in the middle. I’ve stripped the code out - can you please upload it as a Gist, Pastebin, or similar to show as an example?

-JPR

Not sure if this will help in your case but check out PowerShell Tip: Utilizing Runspaces for Responsive WPF GUI Applications

I found it useful when I was playing with runspaces