iisvdir

How do I use IIS6 style metabase paths in IIS7 AppCmd tool?

I'm currently in the process of upgrading old II6 automation scripts that use the IISVdir tool to create/modify/update apps and virtual directories, and replacing them with AppCmd for IIS7. The IIS6, "IISVDir" commands reference paths in that are from the metabase, eg, /W3SVC/1/ROOT/MyApp - where 1 is ID of "Default Web Site". The comma...

How do I create a virtual directory underneath existing folder in IIS using iisvdir.vbs?

I am using the following command: iisvdir /create "mywebsite.local"/Manager Images C:\inetpub\sysdata\mywebsite\Images The http://mywebsite.local/Manager folder already exists, but I want the virtual folder underneath it. If I do this in the IIS Management UI I can do it successfully. However from the command line it just doesn't want...