InstallAware for Windows Installer
 

Get IIS Site Index

This command obtains the site index for an Internet Information Services website identified by its site name. Most IIS commands identify a site by its site index instead of its site name. Use the Get IIS Site Index command to obtain the required index before using such commands.

Site Name

The name of the website.

Variable

The variable that receives the site index for the given site name.

 Notes

  • If a site with the given name cannot be found, the variable receives the value 0.