Removing WebConfiguration node? [Answered]RSS

1 reply

Last post Oct 28, 2009 03:25 PM by relliky2d

  • Removing WebConfiguration node?

    Oct 28, 2009 09:57 AM|relliky2d|LINK

    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

  • Re: Removing WebConfiguration node?

    Oct 28, 2009 03:25 PM|relliky2d|LINK

    Answer my own question:

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