I need to create a HTML report of all AD users in the DC based on username, email, description and lastlogondate. I need to create one section in the report for each of three specific groups that have been created, and then another section forall others (that's the tricky part for me).
I can query the groups individually but how can I go about omitting the three groups and querying all other users in the DC? I'm pulling the four values as variables to make it easier to output as a HTML report.
Thanks in advance.