Hello,
When attempting to add an application via appcmd, I get the following:
1) First attempt
C:\Windows\System32\inetsrv>APPCMD add app SITE.NAME="Default Web Site" /path:/<Appname> /physicalPath:E:
<path> /applicationPool:"Classic ASP AppPool"
ERROR ( message:The identifier is not supported in the current command usage. You specified "SITE.NAME=Default Web Site
". )
2) Second attempt
C:\Windows\System32\inetsrv>APPCMD add app SITE.NAME=Default Web Site /path:/<Appname> /physicalPath:E:
<path> /applicationPool:"Classic ASP AppPool"
Failed to process input: The parameter 'Web' must begin with a / or - (HRESULT=80070057).
Actually no surprise on attempt 2 with spaces in the site name, but I had to try.
Since the /? parameter give this:
Examples:
appcmd add app /site.name:"Default Web Site" /path:/app1
Create a new application /app1 in site "Default Web Site".
I am at a loss.