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.
appcmd list vdir /app.name:[sitename]/
Replace [sitename] with the name of your site.
For more info, check out Microsoft Technet.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With