edit feature permissions for handler

by nbritton at 2013-01-21 12:57:13

I have a handler called cgi-exe, i would like to script the ability to tick the execute box for the cgi-exe object. How can you do this?
by JasonHelmick at 2013-01-21 14:41:02
Hey nbritton…

I dont work much with CGI so I’m sure there is a cleaner PowerShell way to do this I just haven’t had a chance to play with it.

Here is one way using AppCmd from this blog: http://blogs.iis.net/thomad/archive/201 … s-7-5.aspx

Here’s the line:

%windir%\system32\inetsrv\appcmd set config -section:isapiCgiRestriction /+[path='c]

See if that helps!

Jason