-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Labels
Description
Dear,
-
May be because of SE setup.exe now another additional argument must be added "/IAcceptTheLicenseTerms".
Otherwise the script raise an exception saying the setup installer requiers a reboot.
Start-Process "$env:SPbits\setup.exe" -ArgumentList "/config `"$configFile`"" -WindowStyle Minimized -
Because of the way how the server core is working, we cannot create shortcut , the conditional statement at the following line should also check if the current machine is a server core:
if ($spYear -le 2019) # Note, this check works even if the $spYear is "SE".
Note: How to retrieve the server product info with the server level : Determining Whether Server Core Is Running