Guys , trying to right some script , but not successful.
I want to check if a computer is in a security group and if so , run some reg changes. My code was like this

IF @WKSTA INGROUP("GROUPNAME") = 1
DONOTSOMETHING
ELSE
ENDIF

Can I check if computers are part of an AD group with KIX ?