The sAMAccountName of a computer ends with a $.

Borrowing from some VBS I came across:
objComputer.Put "sAMAccountName", strComputer & "$"
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.