Tui*_*uim 11
您可能必须以管理员身份运行它.
appcmd list site
Run Code Online (Sandbox Code Playgroud)
直接来自http://technet.microsoft.com/en-us/library/cc771280(v=ws.10).aspx
As @WolfyUK mentioned, you may need to run the command from the inetsrv directory.
64 Bit:
%windir%\system32\inetsrv\appcmd.exe list site
Run Code Online (Sandbox Code Playgroud)
32 Bit:
%windir%\syswow64\inetsrv\appcmd.exe list site
Run Code Online (Sandbox Code Playgroud)
The list site command will list all sites but you can also:
List Individual Site by Name:
...\appcmd.exe list site /name:"<site_name>"
Run Code Online (Sandbox Code Playgroud)
List Individual Site by Meta ID (Site ID No.):
...\appcmd.exe list site /id:<site_number>
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
11748 次 |
最近记录: |