You can change all IIS settings on the command line, even some things you can not change in the GUI.
There are various options, you could use appcmd.exe, COM objects in your WSH scripts or own programss, or PowerShell IIS cmdlets.
There are tons of examples out there, a good starting point is www.iis.net, they have a reference section with many examples. You could also use the Configuration editor in 'IIS Manager' it offers to generate a script for any change you make in it. Just copy the script into your batch file.
To enable ASP.NET you may need to look into
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -?