Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

removing isapifilter problems

$
0
0

I am trying to remove a no longer used isapifilter with powershell.

Here is what I am doing,  this removes it from the server level but does not remove the one loaded at the web site level. 

Thank You anyone that can guide me.

--------------------------------------

Import-Module WebAdministration

# remove millsecure if it is loaded

$isapiFilterName = 'millsecure'

$iispathFilter = 'iis:\'

cd iis:\

iisreset /stop

if (Get-WebConfigurationProperty -filter //isapifilters -pspath $iispathFilter -name Collection[name="$isapiFilterName"]) {

     Remove-WebConfigurationProperty -filter //isapifilters -pspath $iispathFilter -name Collection[name="$isapiFilterName"] }

 


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>