To configure IIS, you must run IISConfiguration.ps1 in PowerShell using parameters shown in the example scripts below. Run the appropriate script according to whether you want to use default or custom parameters.
-
PowerShell must be run in Administration mode.
-
Values shown in italics should be replaced by your own values.
-
The script creates 1 application pool and 1 application.
The username and password parameters are the domain username and password for the SEM Web API application pool custom account. The domain user must have read-write access to the shared folder of the SEM sites.
Script with default parameters
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -Verbose
Script with custom parameters
powershell.exe -file "[path]\PostInstallation\IISConfiguration.ps1" -installationType "SEM_WebAPI" -username "MyDomain\DomainUser" -password "MyPassword123" -webApiAppPool "MySEMWebAPIAppPool" -webApiAppName "Mywebapi5.0.1" -Verbose
Parameter |
Description |
webApiAppPool |
Web API application pool name (when using default parameters, value is "SEMWebAPIAppPool") |
webApiAppName |
Web API application name (when using default parameters, value is "webapi5.0.1") |
username |
Name of the registered Admin user for logging in to the Authentication Server. This user must belong to the System Administrators group. |
password |
Password of the registered Admin user |