if you use WSHPipe() UDF

code:
 
$WinsServer=trim(split(WSHPipe('%comspec% /c ipconfig /all| find "Primary WINS Server"',1)[0],':')[1])

Anyone want to see if this works??
_________________________
How to ask questions the smart way <-----------> Before you ask