How can I increase the sessions in a PS 5.1 Workflow? I’ve tried setting the max to 10 using this
$wfopt = New-PSWorkflowExecutionOption -MaxSessionsPerWorkflow 10 -MaxDisconnectedSessions 200 Register-PSSessionConfiguration -Name sqldba -SessionTypeOption $wfopt -Force
and then in the command referencing the session like this
Run-UpdateStats -PSConfigurationName sqldba -SqlServers $Workload
But still only 5 sessions.
Am I doing something wrong?