brianlala / AutoSPInstaller

Automated SharePoint 2010/2013/2016/2019/SE PowerShell-based installation script.
https://autospinstaller.com
MIT License
172 stars 81 forks source link

SharePoint SE - SSL web applications are always created with hostheader #90

Open PisuToSem opened 2 years ago

PisuToSem commented 2 years ago

When I install the SE edition, the web application on SSL is always set with the host header, even if I have it set to false in the XML configuration, because there is no check in the part of the code where the new SE commands are used:

https://github.com/brianlala/AutoSPInstaller/blob/6c4bcd0b9b40f9e4ba0b492fd634f67414e8b7f1/SP/Automation/AutoSPInstallerModule.psm1#L2980-L2983

Check which is in the section for previous versions of SharePoint: https://github.com/brianlala/AutoSPInstaller/blob/6c4bcd0b9b40f9e4ba0b492fd634f67414e8b7f1/SP/Automation/AutoSPInstallerModule.psm1#L2993