I'm after a way of joining a box to domain from the command line without using any reskit or thirdparty utilies. The only tools allowed are ssh for getting onto the box and standard windows binaries. No scripts (like vbs using WMI) may be deployed either.
You can use and .inf file if required (like fo sysoc).
Why I think this is possible - well it's something you can script for unattended installation, so calling an .inf file that joins the box must be possible somehow.