Is there a way to assign ip restriction's in virtual folders via a command
line utility?

Re: Setting up ip restriction via command line! by Kristofer

Kristofer
Thu Aug 25 12:26:21 CDT 2005

What kind of command line utility do you have in mind? Something that
already exists, or do you want to build your own command line utility?

Pretty much everything regarding IIS can be configured using adsutil.vbs,
which can be used from the command line:

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/d3df4bc9-0954-459a-b5e6-7a8bc462960c.mspx

If you want to build your own utility you may want to look in the IIS SDK

http://msdn.microsoft.com/library/en-us/iissdk/html/b1073d67-0cfd-42cb-b62b-97e670a4eafb.asp

and also this example on codeproject.com:

http://www.codeproject.com/csharp/IISWMI.asp

There should be additionally examples in the IIS SDK, but i cannot find
the link for the moment.

Good Luck!

--
Regards,
Kristofer Gafvert (IIS MVP)
http://www.gafvert.info/iis/ - IIS Related Info


Kunal wrote:

>Is there a way to assign ip restriction's in virtual folders via a command
>line utility?

Re: Setting up ip restriction via command line! by Chris

Chris
Thu Aug 25 23:56:57 CDT 2005

Have a look at this script it allows you to script restrictions from the
command line with the restrictions in a text file.

http://www.iisfaq.com/Default.aspx?tabid=2804



--

Cheers

Chris

Chris Crowe [IIS MVP]
http://blog.crowe.co.nz

"Kunal" <Kunal@discussions.microsoft.com> wrote in message
news:4001521B-6F3A-400C-9AF3-C2D159D60F81@microsoft.com...
> Is there a way to assign ip restriction's in virtual folders via a command
> line utility?