So the steps are:
1. Run Powershell.
2. In Powershell, run the following command.
PS> gwmi -namespace root\WebAdministration -class VirtualDirectory
IIS 7.0+ uses root\WebAdministration namespace and to check virtual directory read data from VirtualDirectory class.
3. If you want to check Web Application, run this:
PS> gwmi -namespace root\WebAdministration -class Application
No comments:
Post a Comment