Yes "nbtstat -a" works and I am using the WMIquery defined in this thread.
_________________________
Home page: http://www.kixhelp.com/hb/