Search code examples
iisiis-7application-poolappcmd

The identifier is not supported in the current command usage. You specified 'testname'


While trying to create an application pool via appcmd

C:\Windows\System32\inetsrv>appcmd add apppool /name: testname /managedRuntimeVe
rsion: -v4.0 /managedPipelineMode: -Integrated

i get the folowing error

The identifier is not supported in the current command usage. You specified 'testname'.

So, what is wrong with that?


Solution

  • Brilliant.

    Removed the extra space character from /name: testname to /name:testname and it just works.