Product: PowerShell Universal
Version: 3.7.9
Every once in a while I get this error (at about :30 seconds in the attached video) - I sped the video up about 5x to illustrate how much I can do before the error ever appears:
Any ideas what could be causing this?
Code
Writes opposite bit (bitwise) to each of the selected users in a loop:
Database writes
I am going to debug a bit more. However, I wanted to see if anyone else ran into this. while I don’t think there’s null data clearly the error message says otherwise.
what is unusual to me is that I simply click the button again and it works, could this be the session variable?
I am also thinking I need to be writing to the Database in a batch. But I have not taken the time to figure out that code. I am not able to use DBATools in my environment.
I cannot reproduce this error after resolving a performance related issue on the server.