Thanks, that's helpful.
And yeah there's over 4000 objects in the forest and growing fast so it is quite painfully slow.
I think I'd rather go that way you and Burke recommend, I have a powershell script used for other tasks that can be used. I guess I can have input and output parameters parsed into a powershell script in the same way as the JavaScript in the workflow code?
Or just use the RSAT tools instead. Either way, I'm looking for examples on how I can incorporate that into a workflow and be able to call it from vCAC, I would like to do it the same way I am currently doing, by using workflow stubs and properties in my Blueprint in vCAC and then to insert those as inputs into a workflow that calls a powershell script or just runs the RSAT tools.
Any help is appreciated and many other people/organisations out there are interested in this!
Thanks