That said, I know there have been several scripts posted that use NETDOM to join the computer running the script to a domain so I'm pretty sure the inverse should be possible.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.