I just can't see how that can work. You instantiate the COM object with the handle $oComputer but then later, you have $usr.Groups ???
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.