I recently had a requirement to use a scripted approach to create a SharePoint farm that used Kerberos authentication.
A quick bit of research pointed me towards the excellent resources made available by Gary Lapointe (see his blog at http://stsadm.blogspot.com/).
Read More