@xgamer: hey, I've found a lot of entries similar to what you've just given me, but none of them return anything. What I assume is, is that for this code to work, I need a domain set up, but I'm trying to get the computer names in a normal workgroup.

I've tried your code * well, but no luck. Sad