run cmd as admin’

> %windir%\system32\inetsrv\appcmd list site > c:\sites.xls

Advertisements