I have a small script that I that is giving me strange results I was hoping someone could clarify.
If I run the code below I get an error "Object not a collection" If I add on "On Error Resume Next" I get "i" has a value of 1 when there are no members of the group. Can someone clarify what I'm doing wrong. Much appreciated.l
I am running this script through SMS sometimes when I setup a vbscript through sms for whatever reason the script does not work. So typically what I do is create a vbscript to complete an action have the script verify the action was complete and report the results to SMS. That way I know the script has done what I need it to do.