environments.ps1
file. *
) to bring in multiple variables that match a pattern.-PSModulePath
parameter of New-PSUEnvironment
to configure additional PSModulePaths to include within the environment. -RunspaceRecycling
parameter of New-PSUEnvironment
will cause runspaces to be disposed and recreated periodically. This may increase CPU usage but reduce memory usage in some environments. settings.ps1
file and include the -ApiEnvironment
parameter of Set-PSUSetting
. It needs to be the name of the environment. scripts.ps1
and setting the -Environment
parameter of New-PSUScript
. To set the environment of a schedule, set the -Environment
parameter of New-PSUSchedule
in schedules.ps1
. When invoking a script, you can also choose an environment to use. -Environment
parameter of New-PSUDashboard
in dashboards.ps1
.Universal.Server.exe
process. To run these out of process, you can select an environment by setting the -SecurityEnvironment
parameter of Set-PSUSetting
in settings.ps1
. environments.ps1
. Set-PSUSetting
in settings.ps1
.