PowershellSettingsExtensions.

OutputToAppConsole(PowershellSettings, bool) Method

Summary

Sets a value indicating whether the output of an application is written to its on-screen console.

Syntax

public static PowershellSettings OutputToAppConsole(this PowershellSettings settings, bool outputToAppConsole = true)

Parameters

Name Type Description
settings PowershellSettings The powershell settings.
outputToAppConsole bool true if output should be written to the app's on-screen console; otherwsie, false. The default is true.

Return Value

Type Description
PowershellSettings The same PowershellSettings instance so that multiple calls can be chained.