While reviewing the code [AutoSPInstallerMain.ps1, line 250] using NotePad++, the editor's syntax parser seems to have an issue with the "back quote / semi-colon" delimiter in the following statement:
Start-Process -FilePath "$PSHOME\powershell.exe" -Verb Runas -ArgumentList "-Command `". $env:dp0\AutoSPInstallerFunctions.ps1`; InstallSMTP (Get-Content $inputFile); Start-Sleep 5" -Wait
Adding another quote after the back quote characters makes NotePad++ happy:
...AutoSPInstallerFunctions.ps1`"; InstallSMTP...
But, I am unsure if adding that quote maintains the integrity of what the command was intended to do.
Comments: Can't confirm issue.
Start-Process -FilePath "$PSHOME\powershell.exe" -Verb Runas -ArgumentList "-Command `". $env:dp0\AutoSPInstallerFunctions.ps1`; InstallSMTP (Get-Content $inputFile); Start-Sleep 5" -Wait
Adding another quote after the back quote characters makes NotePad++ happy:
...AutoSPInstallerFunctions.ps1`"; InstallSMTP...
But, I am unsure if adding that quote maintains the integrity of what the command was intended to do.
Comments: Can't confirm issue.