Here's how we can export list of IIS websites by AppCmd:
#1: By AppCmd
1. Open Run box by Win + R
2. Type cmd
3. In command prompt windows, type:
%windir%\system32\inetsrv\appcmd list site > c:\websites.txt
4. The target file is a structured file, not a simple list.
We can import file to spreadsheet like Excel by these steps: Click here
#2: By Windows PowerShell:
Get-WebSite | Export-Csv -Path e:\temp\Websites.csv
0 Comments
Đăng nhận xét