February 2019
Intermediate to advanced
626 pages
15h 51m
English
The RunspacePool object can be created using RunspaceFactory. RunspacePool can be created with either the minimum and maximum number of concurrent threads, or an InitialSessionState object. Creating the pool using an InitialSessionState object is shown here:
$initialSessionState = [InitialSessionState]::CreateDefault2()$runspacePool = [RunspaceFactory]::CreateRunspacePool($initialSessionState)
Any extra entries required in the InitialSessionState must either be added using the $intialSessionState variable before RunspacePool is created, or extra entries must be added using $runspacePool.InitialSessionState after RunspacePool is created. Changes cannot be made after RunspacePool has been ...
Read now
Unlock full access