I came across your script this morning and was able to modify to my needs, mostly. I have a question/favor/request...
for the section for testing AD binding, I need to have it determine which domain it's connected to (we have 3). I was able to do the section for displaying binding by adding elif statements, but I'm unsure how to do the same for the testing section.
Thank you!