"wmic process get commandline | findstr TEST_ENV_NUMBER 2>&1" was returning multiple lines around each result which threw off the number returned by Parallel.number_of_running_processes.  Adding the extra pipe to "find" solved the problem