Many organizations require that the IIS web folders not be on the C drive (OS).
You can use -Path with the command New-SPWebApplication to specify the physical directory for the new Web application in the virtual directories folder. The type is a valid path, in the form C:\Inutepub\wwwroot\MyWebApplication. If no value is specified, the value %wwwroot%\wss\VirtualDirectories\ is applied.
by DonJ at 2012-09-12 14:07:02
Was there a question there, or were you just posting that as a tip?
by MSIH at 2012-09-13 11:37:39
I had posted it as a question. I found the answer and changed it to a tip
The topic ‘Create New Web App and Specify Physical Directory’ is closed to new replies.