Cmdlet
New-ConsoleLog
Creates a log region: the newest lines of a log, bottom-aligned.
Syntax
New-ConsoleLog [-Capacity <Int32>] [-Height <Int32>] [[-Name] <String>] [<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Creates a log region: the newest lines of a log, bottom-aligned.
In a live dashboard the log region receives Write-Host, Write-Information, Write-Warning, Write-Verbose and error output from the runspaces Start-ConsoleDashboard owns, plus Console.WriteLine from .NET code, so nothing scribbles over the screen. Write to it explicitly with Write-ConsoleLog.
Examples
EXAMPLE 1
New-ConsoleLog -Name 'Name'Parameters
- -Capacity Int32
- Lines kept in memory (default 1000).
- -Height Int32
- Rows requested when printed once (default 8).
- -Name String
- The live name (default log).
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.