Skip to content
ConsoleMonster
Cmdlet

Out-ConsoleDefault

Module ConsoleMonster
Inputs
System.Management.Automation.PSObject

Shows objects of registered types through ConsoleMonster and passes everything else to PowerShell's Out-Default.

Syntax

Out-ConsoleDefault [-Force] [-InputObject <PSObject>] [-Transcript] [<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Shows objects of registered types through ConsoleMonster and passes everything else to PowerShell's Out-Default.

This is what Enable-ConsoleFormatting puts behind Out-Default. Consecutive objects of registered types (Register-ConsoleView; files and folders, processes and services after Enable-ConsoleFormatting) are collected and shown as one ConsoleMonster view; any other object, format data from Format-*, errors and strings go to PowerShell's Out-Default unchanged. It only takes over when the output is displayed on a real local console: redirected output, jobs, remoting and other hosts get PowerShell's default output (-Force renders anyway). The objects themselves are never changed.

Examples

Authored help example

EXAMPLE 1

Out-ConsoleDefault -Force

Parameters

-Force SwitchParameter optional
Renders registered types even when the output is redirected or the host is not a console (as plain lines there).
-InputObject PSObject optionalpipeline: True (ByValue)
The objects to show.
-Transcript SwitchParameter optional
Passed to Out-Default (the host transcribes the output).

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.