Many of you know that it is possible to create NSI files and collect them into an NSE file and load that data into the Notification Server CMDB. This download is a vbscript that retrieves IIS virtual directory information from a server running IIS and creates an NSI file with that information.
For this vbscript, the following variables can be modified according to your own environment:
The script will return the virtual directory name and the local path.
To use this vbscript, do the following:
<drive>:\\Program Files\Altiris\Notification Server\NSCap\bin\win32\x86\Inventory Solution.
"cscript iisvirtualdirectories.vbs". The line must appear prior to the line that runs aexnsinvcollector.exe.
inv_DefaultWebSite_VirtualDir.