I have a script that creates an app pool, web site - and then I want to use adsutil to add the .xap MimeType.
I see this:
cscript adsutil.vbs set W3SVC//Root/MimeMap “.extension,mimetype”
However, since I am creating the web site in the same script I will not know the ID.
Would anyone know how to do this with adsutil?
Thanks,
- Rich