brianlala / AutoSPInstaller

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

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

Open PisuToSem opened 1 year ago

PisuToSem commented 1 year 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