Hi all, I'm working on implementing a ps connector in our work environment. using it with full import as a single thread in production can take 20+hours due to the sheer number of attributes in the schema + 70k objects so I wanted to improve the time to minimise the risk of a server exception stopping the import action all together. So I came up with the idea to utilise runspace pools and process the users in blocks in separate threads.
This is all fine and dandy until you get to the end of the script - it just tells me stopped extension dll exception.
When I check the return list it's the same as when I run it single threaded. Has anyone had any luck running PS Connector in a multi threaded way?