Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

The title pretty much says it. I need a command line equivalent to pressing the Remove button on the Application Name setting when looking at the properties of a Virtual Directory in IIS6 on a Windows Server 2003. I need this for a batch file. If there is an alternative for a VBScript that would work also.

I know with

Cscript.exe adsutil.vbs SET Path Value

I can alter settings but cannot find a list of what settings I can alter.

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Using the remove button actually removes the application from the virtual directory, the equivalent in adsutil is to use the command:

APPDELETE Path

See this page for a full list of commands to use with adsutil.

share|improve this answer
    
Perfect, what I was looking for. Thanks! –  Strop Jul 22 '09 at 14:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.