DSInternals
DSInternals copied to clipboard
Get-addbaccount crashes under unique situation.
It would give me the error "array is too large" and terminate when an account has the "usercertificate" field set invalid. Specifically the value of "1" ... Some one from another area created a test account. I got lucky finding it. But it breaks the -all option. And for loops are way too slow to utilize. 60k accounts takes 73 hours on an 8 core 12gb ram server.
Thanks for your feedback, @Skwerl23. I looked at the code again and the userCertificate attribute is never even read. Could you please send me a Stack Trace of that exception?