Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get list of Virtual directories from IIS using command prompt

Tags:

command

iis

Is there a way to get a list of Virtual directories under a specific website in IIS using the command prompt?

I was able to perform the task using C# but I have a specific requirement where-in I need to list all the virtual directories under a website using the command prompt.

like image 956
The_Rising_Photon Avatar asked Sep 18 '13 20:09

The_Rising_Photon


1 Answers

appcmd list vdir /app.name:[sitename]/

Replace [sitename] with the name of your site.

For more info, check out Microsoft Technet.

like image 148
JWL_ Avatar answered Oct 19 '22 03:10

JWL_