guys, i need to add an ISAPI filter on a specific website ONLY (on a site level not on the root) in IIS 8.5 server 2012 using powershell
this is my code that is working on the top level on all sites,
Add-WebConfiguration -PSPath IIS:\ -Filter /system.webServer/isapiFilters -Value @{
name = 'Jakarta'
path = 'c:\Jakarta Isapi Redirector\bin\isapi_redirect.dll'
}
case 1: i want it to add the filter on the "Site-1" which is the default website (but on another server).
case 2: i want it to add the filter on the "Site-1" which is not the default website.
thanks.