Instead of WMI, look to ADSI. There are tons of examples on the board.

Edged out by Howard


Edited by Les (2006-03-31 03:51 PM)
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.