I got it guys...thanks for your help...

$oWts = CreateObject("WtsScript.WtsQuery")
$clientip = $oWts.ClientIp

Mike