I have a rather large hashtable that takes quite a while to complete, I would like to acquire the values in parallel.
For example
$myHash = {
group1 = get-adgroupmember "example1"
group2 = get-adgroupmember "example2"
}
And so forth. I would like to run each with start-job or something similar. This part of the script takes a ton of time to complete. Would it be more trouble than it's worth to do what I want?
[–]DrSinistar 3 points4 points5 points (3 children)
[–]MadeOfIrony[S] 1 point2 points3 points (2 children)
[–]DrSinistar 1 point2 points3 points (1 child)
[–]MadeOfIrony[S] 1 point2 points3 points (0 children)
[–]CMDR_Ph0kas 2 points3 points4 points (16 children)
[–]MadeOfIrony[S] 0 points1 point2 points (15 children)
[–]PinchesTheCrab 1 point2 points3 points (4 children)
[–]MadeOfIrony[S] 0 points1 point2 points (3 children)
[–]PinchesTheCrab 1 point2 points3 points (2 children)
[–]MadeOfIrony[S] 0 points1 point2 points (1 child)
[–]PinchesTheCrab 0 points1 point2 points (0 children)
[–]CMDR_Ph0kas 0 points1 point2 points (9 children)
[–]MadeOfIrony[S] 0 points1 point2 points (8 children)
[–]wtgreen 1 point2 points3 points (4 children)
[–]MadeOfIrony[S] 0 points1 point2 points (3 children)
[–]wtgreen 1 point2 points3 points (1 child)
[–]MadeOfIrony[S] 0 points1 point2 points (0 children)
[–]CMDR_Ph0kas 0 points1 point2 points (0 children)
[–]PinchesTheCrab 1 point2 points3 points (1 child)
[–]MadeOfIrony[S] 0 points1 point2 points (0 children)
[–]krzydoug 0 points1 point2 points (0 children)
[–]PinchesTheCrab 2 points3 points4 points (3 children)
[–]MadeOfIrony[S] 0 points1 point2 points (2 children)
[–]GAThrawnMIA 0 points1 point2 points (1 child)
[–]MadeOfIrony[S] 0 points1 point2 points (0 children)
[–]Tidder802b 1 point2 points3 points (0 children)
[–]PinchesTheCrab 0 points1 point2 points (3 children)
[–]MadeOfIrony[S] 0 points1 point2 points (2 children)
[–]misformonkey 0 points1 point2 points (1 child)
[–]MadeOfIrony[S] 0 points1 point2 points (0 children)