Ok, I know this has been covered here before but I think this link should not be ignored because of past posts...

I have seen many links out there that try to explain how to use command line utilities for remediation, but this one is probably the best I have ever seen. If you want to know how to use command line utilities, along with all the switches, check this site out. You wont be dissapointed.

http://www.dit.gov.bt/~takeshi/mater...etcommand.html

Hope this helps!