Get a list of virtual directories from IIS using the command line

Is there a way to get a list of virtual directories on a specific website in IIS using the command line?

I managed to complete the task using C #, but I have a specific requirement. I need to list all the virtual directories under the website using the command line.

+6
source share
1 answer
appcmd list vdir /app.name:[sitename]/

Replace [sitename] with the name of your site.

For more information, check out Microsoft Technet .

+5
source

Source: https://habr.com/ru/post/1502904/


All Articles