Runspace nesting. RRS feed

  • Question

  • Could we create runspace inside a runspace. The background of this is.

    I want to run some script on 2000 servers. I create a runspace to 5 different jumphosts and send 400 servers to each. while each runspace will work on 400 servers in sequence. I want to break down it to 5 runspaces of 80 servers each to bring down the execution because script is taking very minimum resources on source server. while it execute on destination in 5 to 8 min. the source system is idle.

    • Moved by Bill_Stewart Wednesday, September 4, 2019 6:45 PM Off-topic
    Monday, March 18, 2019 8:37 PM

All replies

  • You cannot run 400 runspaces simultaneously unless you have some 32 processor server.

    Use a workflow.  It scales better.


    Monday, March 18, 2019 9:38 PM