I have been trying to use WMIQuery() function to determine what domain a computer is on. I know I can use netdom, but I am trying to find a COM method to determine this.

I believe the reason WMIQuery() does not work is because the computer is on a different domain.

How can I get around this?

_________________________
Kelly