How can I find the total number of sites hosted in an instance of IIS 7? It doesn't matter if it is in PowerShell, I just can't seem to find some trival way to find this information...
Your ouput file will have a full description of all sites in IIS 7.
The appcmd mentioned previously is pretty cool. But if you start Powershell and type:
You'll get a pretty listing of all the configured websites and bindings:
You might need to add the IIS WebManagement snapin. But if you start Powershell from the