Hey guys,
I have a Problem with some AD Groups. I've build a script which runs through my AD and filters a lot of stuff out Groups - worked fine! Now we like to use the script in another AD, here are some empty Groups (no members) which let me run in some endless Loops.
Does anybody know a way to check if an AD Group got members or not?
Something like that:
If $ADGroup is not null{
rock on!
}else{
leave the script and take the next group
}
Thanks for help!