Reputation: 1689
I want to set default document for a IIS website from command prompt.
May I know how to setup this..
Thanks, Mahesh
Upvotes: 1
Views: 1699
Reputation: 707
You can use appcmd.exe:
appcmd set config /section:defaultDocument /enabled:true|false
Check appcmd help at MSDN (or here) for more information.
http://learn.iis.net/page.aspx/114/getting-started-with-appcmdexe
Upvotes: 2