IMHO, ComputerInGROUP() only works for the computer the function is running on. There is no parameter to specify a computername.