Out-ConsoleFormatCommand
Renders native PowerShell formatting records through ConsoleMonster.
Syntax
Out-ConsoleFormatCommand [-AsWidget] [-InputObject <PSObject>] [<CommonParameters>]#All Parameter SetsDescription
Renders native PowerShell formatting records through ConsoleMonster.
The host-only sink used by Enable-ConsoleFormatting -Feature FormatCommands. PowerShell still resolves properties, calculated expressions, grouping and named views. Unrecognized formatting records are passed to the native Out-Default. Use -AsWidget to export the same view with Export-ConsoleFrame.
Examples
EXAMPLE 1
Get-Process | Microsoft.PowerShell.Utility\Format-Table Name, Id | Out-ConsoleFormatCommand -AsWidget | Export-ConsoleFrame -Path processes.htmlExport a native table using ConsoleMonster's frame exporter
Parameters
- -AsWidget SwitchParameter
- Returns the view widget for composition or export.
- -InputObject PSObject
- Native Format-Table, Format-List or Format-Wide output records.
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.