I'm playing around with your nslookup() UDF now but I'm getting stuck on

 Code:
 
; get the command result and extract what is needed 
	$_sR = Trim(Split(Join(Split($_oExec.StdOut.ReadAll, @CRLF), ''), 'name:')[1]) 


How do I get it show the bit I want?