IIS 7 and Above
Removing WebConfiguration node?
Last post Oct 28, 2009 03:25 PM by relliky2d
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
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