The UDF returns an array and KiX cannot take an array directed to the console.
Try:
$rc = InContainer("OU=ComputerName,OU=Site,OU=BU,DC=us,DC=guess,DC=com", "Computer")[0]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.