appsettings.jsonfile within the installation directory. This file defines various settings you can apply to Universal. Although you can edit this file directly, it's recommended that you use one of the following methods to persist settings as the
appsettings.jsonfile in the installation directory will be overridden on upgrades.
$Env:ProgramData\PowerShellUniversalfolder. You can use a subset of the settings from within the
appsettings.jsonfile. For example, if you wanted to override the JWT settings, you could have an
appsettings.jsonfile like this.
appsettings.jsonfile. For example, if you want to change the JWT signing key via environment variable, you would set the variable
$Env:Jwt__SigningKey. If you wanted to set the external API URL, you would set
Get-UAScriptfrom within a running job, the Universal server needs to determine where the web server. When running within a proxy, it cannot determine this itself. You will want to configure this to point to the name and port of the IIS website in this configuration.