I have been asked to get involved server migration task . I have been given task to get list of physical paths of all websites hosted on IIS .
I know how to get individual websites path in IIS using GUI and also able to view list of websites and corresponding physical path in IIS GUI by clicking on View Application link.
But I dont know how to export this info to Excel sheet.
Is there any option in GUI or some command to be executed in command prompt which will help retrieve the required information in one go ?
There are many websites hosted and it would be cumbersome to visit each application , copy physical paths and paste into excel.