PowerShell PSWorkflowJob Maximum Running Instances -
I'm looking for some input, confirmation, and hopefully to get a solution for the following.
I am trying to run more than 100 + PowerShell workflow within a single console, however, it seems that I can not run more than 30 jobs at the same time. This code does not seem to have anything to do with executing a simple workflow, but the start-sleep will not run more than 30. The rest of the work will be in a not-so-touted state as soon as you are preventing or going on as one of the jobs suspended, due to the employment opportunities, more than 30 will start to run.
I have been told any type of limitation about any documentation that this can not do to find out. Is this a configuration problem or limit?
Any input?
Thank you!
PowerShell will suppress the number of shells created to control the workflow. I think there are two relevant values:
Get-item wsman: \ Local Host \ Shell \ MaxShellsPerUser-get-item wsman: \ Local Host \ plugin \ microsoft.powershell.workflow \ quota Set the MaxShellsPerUser this:
set item wsman: \ local host \ shell \ MaxShellsPerUser -Value 50 set item wsman: \ Local host \ plugin \ microsoft.powershell.workflow \ quota \ maxShellsPerUser -Value 50
Comments
Post a Comment