Page History
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$PSReadLineOptions = @{Colors=@{"Default"="Blue"; "Command"="Blue"; "Parameter"="Blue"; "Variable"="Blue"; "Number"="Blue"; "Member"="Blue"; "Operator"="Blue"}} Set-PSReadlineOption -Colors $PSReadLineOptions.Colors if ( Test-Path $env:JS7_AGENT_CONFIG_DIR/Microsoft.PowerShell_profile.ps1 -PathType Leaf -ErrorAction SilentlyContinue ) { . $env:JS7_AGENT_CONFIG_DIR/Microsoft.PowerShell_profile.ps1 } |
Explanation:
- Readline options specify colors used for better visibility of the prompt when directly invoking PowerShell inside a container.
- A profile assumed inside the Agent's
config
directory is executed if applicable.
Running PowerShell Commands inside the Container
...
Overview
Content Tools