Hi Mr. Jeffrey Hicks,
I also need this script, I tried it and it works.
I have use a script from the repository to connect the AD and retrieve all
the computer accounts. Then, I used your script below to connect to the
individual computer and detect who are the members of administrators group in
each computer. However, If the computer that I wish to connect is updated
with SP2 and Firewall is On and Exception File and Print Sharing is OFF, I
can not connect to that machine any more.
My problem now, is how I can turn on the Exception File and Print Sharing to
a remote PC? Or do you have any suggestion on how I can connect to that
computer?
Thanks