PS Studio 2017 5.4.145.0
Win7 64 Bit
I have used the job tracker framework before without issue, but now I am having trouble with my latest script. I am returning data to the update scriptblock and incrementing numbers keep adding to the output.
Instead of "hello", I get "hello 0" and then next time "hello 1" and the number keeps incrementing there is another write-output. The number is definitely not part of what I am outputting.
Rob
Jobtracker update script is adding numbers to output
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- robert.ganshorn
- Posts: 54
- Last visit: Sat Nov 25, 2023 8:17 pm
- robert.ganshorn
- Posts: 54
- Last visit: Sat Nov 25, 2023 8:17 pm
Re: Jobtracker update script is adding numbers to output
Nevermind, I found the problem. A .add function to an arraylist of md5 checksums was also outputting the array count. I added an '| out-null' and that fixed the problem.
Rob
Rob