<mkiisdir>

A task to Create or Modify a IIS Virtual Directory for the Default Web Site.

If the virtual directory does not exist it is created. If the virtual directory alread exists it is modified. Required Parameters are dirpath and vdirname. For a list of optional parameters see IIsWebVirtualDir.

Parameters

AttributeTypeDescriptionRequired
dirpathstringThe file system pathTrue
vdirnamestringName of the IIS Virtual DirectoryTrue
accessexecuteboolFalse
accessnoremoteexecuteboolFalse
accessnoremotereadboolFalse
accessnoremotescriptboolFalse
accessnoremotewriteboolFalse
accessreadboolFalse
accessscriptboolFalse
accesssourceboolFalse
accesssslboolFalse
accessssl128boolFalse
accesssslmapcertboolFalse
accesssslnegotiatecertboolFalse
accesssslrequirecertboolFalse
accesswriteboolFalse
anonymouspasswordsyncboolFalse
appallowclientdebugboolFalse
appallowdebuggingboolFalse
aspallowsessionstateboolFalse
aspbufferingonboolFalse
aspenableapplicationrestartboolFalse
aspenableasphtmlfallbackboolFalse
aspenablechunkedencodingboolFalse
aspenableparentpathsboolFalse
aspenabletypelibcacheboolFalse
asperrorstontlogboolFalse
aspexceptioncatchenableboolFalse
asplogerrorrequestsboolFalse
aspscripterrormessagestringFalse
aspscripterrorsenttobrowserboolFalse
aspthreadgateenabledboolFalse
asptrackthreadingmodelboolFalse
authanonymousboolFalse
authbasicboolFalse
authntlmboolFalse
authpersistsinglerequestboolFalse
authpersistsinglerequestalwaysifproxyboolFalse
authpersistsinglerequestifproxyboolFalse
cachecontrolnocacheboolFalse
cacheisapiboolFalse
contentindexedboolFalse
cpuappenabledboolFalse
cpucgienabledboolFalse
createcgiwithnewconsoleboolFalse
createprocessasuserboolFalse
defaultdocstringFalse
dirbrowseshowdateboolFalse
dirbrowseshowextensionboolFalse
dirbrowseshowlongdateboolFalse
dirbrowseshowsizeboolFalse
dirbrowseshowtimeboolFalse
dontlogboolFalse
enabledefaultdocboolFalse
enabledirbrowsingboolFalse
enabledocfooterboolFalse
enablereversednsboolFalse
iisserverstringThe IIS server. Defaults to localhost.False
ssiexecdisableboolFalse
uncauthenticationpassthroughboolFalse
failonerrorboolFalse
ifboolFalse
unlessboolFalse
verboseboolFalse

Examples

Creates a Temp IIS Virtual Directory pointing to c:\temp on the local machine.

                 <mkiisdir 
                    dirpath="c:\temp"
                    vdirname="TEMP"
                 />
              

Creates a Temp IIS Virtual Directory pointing to c:\temp on the machine staging.

                 <mkiisdir 
                    iisserver="staging"
                    dirpath="c:\temp"
                    vdirname="TEMP"
                 />