« Previous Next »

Thread: Removing WebConfiguration node?

Last post 10-28-2009 3:25 PM by relliky2d. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 10-28-2009, 9:57 AM

    • relliky2d
    • Not Ranked
    • Joined on 10-16-2009, 11:20 AM
    • Posts 5

    Removing WebConfiguration node?

    Creating and Editing WebConfiguration sections is easy. But how would I go about removing a particular node of a Config Section? Clear-WebConfiguration seems to just clear a whole section. Thanks

  • 10-28-2009, 3:25 PM In reply to

    • relliky2d
    • Not Ranked
    • Joined on 10-16-2009, 11:20 AM
    • Posts 5

    Re: Removing WebConfiguration node?

    Answer my own question:

    Clear-WebConfiguration -filter "/system.webServer/staticContent/mimeMap[@fileExtension='.htm']" -PSPath IIS:\Sites\domain.com

Page 1 of 1 (2 items)
Microsoft Communities