Set D365WebServerType - FH-Inway/d365fo.tools GitHub Wiki
Set the web server type to be used to run the D365FO instance
Set-D365WebServerType [-RuntimeHostType] <String> [<CommonParameters>]
Set the web server which will be used to run D365FO: Either IIS or IIS Express. Newly deployed development machines will have this set to IIS Express by default.
It will backup the current "DynamicsDevConfig.xml" file, for you to revert the changes if anything should go wrong.
It will look for the file located in the default Package Directory.
Set-D365WebServerType -RuntimeHostType "IIS"
This will update the current web server type registered in the "DynamicsDevConfig.xml" file. This file is located "K:\AosService\PackagesLocalDirectory\bin". It will backup the current "DynamicsDevConfig.xml" file. It will replace the value inside the "RuntimeHostType" tag.
The type of web server you want to use.
Valid options are: "IIS" "IISExpress"
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Tag: Web Server, IIS, IIS Express, Development
Author: Sander Holvoet (@smholvoet)
Author: Mötz Jensen (@Splaxi)